function Llama::getFile
Returns the Drupal root-relative file path to the plugin JavaScript file.
Note: this does not use a Drupal library because this uses CKEditor's API.
Return value
string|false The Drupal root-relative path to the file, FALSE if an internal plugin.
Overrides CKEditorPluginInterface::getFile
1 method overrides Llama::getFile()
- LlamaButton::getFile in core/
modules/ ckeditor/ tests/ modules/ src/ Plugin/ CKEditorPlugin/ LlamaButton.php - Returns the Drupal root-relative file path to the plugin JavaScript file.
File
-
core/
modules/ ckeditor/ tests/ modules/ src/ Plugin/ CKEditorPlugin/ Llama.php, line 77
Class
- Llama
- Defines the "Llama" plugin, with a CKEditor "llama" feature.
Namespace
Drupal\ckeditor_test\Plugin\CKEditorPluginCode
public function getFile() {
return $this->moduleList
->getPath('ckeditor_test') . '/js/llama.js';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.