You are here

public function CKEditorPluginInterface::getFile in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/ckeditor/src/CKEditorPluginInterface.php \Drupal\ckeditor\CKEditorPluginInterface::getFile()
  2. 9 core/modules/ckeditor/src/CKEditorPluginInterface.php \Drupal\ckeditor\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....

4 methods override CKEditorPluginInterface::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.
LlamaContextual::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextualAndButton::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaCss::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.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\ckeditor

Code

public function getFile();