array( 'label' => $this->t('Insert media'), 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgettemplatemenu/extraIcons/oembed.png', ), 'codeSnippet' => array( 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgettemplatemenu/extraIcons/codesnippet.png', 'label' => $this->t('Insert code snippet'), ), 'leaflet' => array( 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgettemplatemenu/extraIcons/leaflet.png', 'label' => $this->t('Insert leaflet map'), ), 'FontAwesome' => array( 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgettemplatemenu/extraIcons/fontawesome.png', 'label' => $this->t('Insert Font Awesome icon'), ), 'WidgetTemplateMenu' => array( 'image' => drupal_get_path('module', 'ckeditor_widgets') . '/js/plugins/widgettemplatemenu/icons/widgettemplatemenu.png', 'label' => $this->t('Add Template Menu'), ), ); } /** * {@inheritdoc} */ public function getConfig(Editor $editor) { return array(); } }