function CKEditorPluginInterface::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.
See also
https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_resourceManager…
2 methods override CKEditorPluginInterface::getFile()
- Llama::getFile in core/
modules/ ckeditor/ tests/ modules/ src/ Plugin/ CKEditorPlugin/ Llama.php - Returns the Drupal root-relative file path to the plugin JavaScript file.
- StylesCombo::getFile in core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ StylesCombo.php - Returns the Drupal root-relative file path to the plugin JavaScript file.
File
-
core/
modules/ ckeditor/ src/ CKEditorPluginInterface.php, line 79
Class
- CKEditorPluginInterface
- Defines an interface for (loading of) CKEditor plugins.
Namespace
Drupal\ckeditorCode
public function getFile();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.