You are here

public function DivPlugin::getLibraryPath in CKEditor Div Container Manager 8

Get path to library folder.

2 calls to DivPlugin::getLibraryPath()
DivPlugin::getButtons in src/Plugin/CKEditorPlugin/DivPlugin.php
NOTE: The keys of the returned array corresponds to the CKEditor button names. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.
DivPlugin::getFile in src/Plugin/CKEditorPlugin/DivPlugin.php
Returns the Drupal root-relative file path to the plugin JavaScript file.

File

src/Plugin/CKEditorPlugin/DivPlugin.php, line 25

Class

DivPlugin
Defines the "default ckeditor button" plugin.

Namespace

Drupal\ckeditor_div\Plugin\CKEditorPlugin

Code

public function getLibraryPath() {
  return 'libraries/div';
}