You are here

public function TokenBrowser::getFile in Token Filter 8

Make sure that the path to the plugin.js matches the file structure of the CKEditor plugin you are implementing.

Overrides CKEditorPluginInterface::getFile

File

src/Plugin/CKEditorPlugin/TokenBrowser.php, line 141

Class

TokenBrowser
Defines the "tokenbrowser" plugin.

Namespace

Drupal\token_filter\Plugin\CKEditorPlugin

Code

public function getFile() {
  return $this
    ->getModulePath() . '/js/plugins/tokenbrowser/plugin.js';
}