You are here

public function BootstrapTabs::__construct in CKEditor Bootstrap Tabs 8

BootstrapTabs constructor.

Overrides PluginBase::__construct

File

src/Plugin/CKEditorPlugin/BootstrapTabs.php, line 36

Class

BootstrapTabs
Defines the "Bootstrap Tabs" plugin.

Namespace

Drupal\ckeditor_bootstrap_tabs\Plugin\CKEditorPlugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, TranslationManager $string_translation) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->stringTranslation = $string_translation;
  $this->modulePath = drupal_get_path('module', 'ckeditor_bootstrap_tabs');
}