$this->t('Add Link'), 'drupalLink_dialogTitleEdit' => $this->t('Edit Link'), ]; } /** * {@inheritdoc} */ public function getButtons() { $path = drupal_get_path('module', 'ckeditor') . '/js/plugins/drupallink'; return [ 'DrupalLink' => [ 'label' => $this->t('Link'), 'image' => $path . '/icons/drupallink.png', ], 'DrupalUnlink' => [ 'label' => $this->t('Unlink'), 'image' => $path . '/icons/drupalunlink.png', ], ]; } }