You are here

public function DrupalViews::getConfig in Views entity embed 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/CKEditorPlugin/DrupalViews.php \Drupal\views_entity_embed\Plugin\CKEditorPlugin\DrupalViews::getConfig()

File

src/Plugin/CKEditorPlugin/DrupalViews.php, line 29

Class

DrupalViews
Defines the "drupalViews" plugin.

Namespace

Drupal\views_entity_embed\Plugin\CKEditorPlugin

Code

public function getConfig(Editor $editor) {
  return [
    'DrupalViews_dialogTitleAdd' => t('Insert views'),
    'DrupalViews_dialogTitleEdit' => t('Edit views'),
    'DrupalViews_buttons' => $this
      ->getButtons(),
  ];
}