You are here

public function DrupalImage::getFile in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/GutenbergPlugin/DrupalImage.php \Drupal\gutenberg\Plugin\GutenbergPlugin\DrupalImage::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, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.resourceManager.h....

Return value

string|false The Drupal root-relative path to the file, FALSE if an internal plugin.

Overrides GutenbergPluginInterface::getFile

File

src/Plugin/GutenbergPlugin/DrupalImage.php, line 24

Class

DrupalImage
Defines the "drupalimage" plugin.

Namespace

Drupal\gutenberg\Plugin\GutenbergPlugin

Code

public function getFile() {
  return '';
}