private function CkeditorTemplatesUi::getTemplatesDefaultPath in Ckeditor templates user interface 8
Generate the path to the template file.
The file will be picked from :
- the module js folder.
Return value
array List of path to the template file.
Overrides CkeditorTemplates::getTemplatesDefaultPath
1 call to CkeditorTemplatesUi::getTemplatesDefaultPath()
- CkeditorTemplatesUi::getConfig in src/
CkeditorTemplatesUi.php - Returns the additions to CKEDITOR.config for a specific CKEditor instance.
File
- src/
CkeditorTemplatesUi.php, line 50
Class
Namespace
Drupal\ckeditor_templates_uiCode
private function getTemplatesDefaultPath() {
global $base_path;
return [
$base_path . drupal_get_path('module', 'ckeditor_templates_ui') . '/js/ckeditor_templates.js',
];
}