You are here

public function CKEditorPluginInterface::getFile in Drupal 8

Same name and namespace in other branches
  1. 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....

9 methods override CKEditorPluginInterface::getFile()
DrupalImage::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalImageCaption::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalLink::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalMedia::getFile in core/modules/media/src/Plugin/CKEditorPlugin/DrupalMedia.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalMediaLibrary::getFile in core/modules/media_library/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php
Returns the Drupal root-relative file path to the plugin JavaScript file.

... See full list

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();