function DrupalLink::getConfig

Same name in other branches
  1. 9 core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalLink::getConfig()

Overrides CKEditorPluginInterface::getConfig

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php, line 38

Class

DrupalLink
Defines the "drupallink" plugin.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin

Code

public function getConfig(Editor $editor) {
    return [
        'drupalLink_dialogTitleAdd' => $this->t('Add Link'),
        'drupalLink_dialogTitleEdit' => $this->t('Edit Link'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.