protected function TokenBrowser::getModulePath in Token Filter 8
Fetches the path to this module.
Return value
string The string representation of the module's path.
2 calls to TokenBrowser::getModulePath()
- TokenBrowser::getFile in src/
Plugin/ CKEditorPlugin/ TokenBrowser.php - Make sure that the path to the plugin.js matches the file structure of the CKEditor plugin you are implementing.
- TokenBrowser::getImage in src/
Plugin/ CKEditorPlugin/ TokenBrowser.php - Fetches the path to the image.
File
- src/
Plugin/ CKEditorPlugin/ TokenBrowser.php, line 151
Class
- TokenBrowser
- Defines the "tokenbrowser" plugin.
Namespace
Drupal\token_filter\Plugin\CKEditorPluginCode
protected function getModulePath() {
return drupal_get_path('module', 'token_filter');
}