public function ReadMore::getFile in CKEditor Read More 8
Same name and namespace in other branches
- 2.x src/Plugin/CKEditorPlugin/ReadMore.php \Drupal\ckeditor_readmore\Plugin\CKEditorPlugin\ReadMore::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 CKEditorPluginInterface::getFile
File
- src/
Plugin/ CKEditorPlugin/ ReadMore.php, line 68
Class
- ReadMore
- Defines the "Google Search" plugin.
Namespace
Drupal\ckeditor_readmore\Plugin\CKEditorPluginCode
public function getFile() {
return drupal_get_path('module', 'ckeditor_readmore') . '/src/readmore/plugin.js';
}