function Language::getCssFiles
Same name and namespace in other branches
- 8.9.x core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php \Drupal\ckeditor\Plugin\CKEditorPlugin\Language::getCssFiles()
Retrieves enabled plugins' iframe instance CSS files.
Note: this does not use a Drupal asset library because this CSS will be loaded by CKEditor, not by Drupal.
Parameters
\Drupal\editor\Entity\Editor $editor: A configured text editor object.
Return value
string[] An array of CSS files. This is a flat list of file paths relative to the Drupal root.
Overrides CKEditorPluginCssInterface::getCssFiles
File
-
core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ Language.php, line 133
Class
- Language
- Defines the "language" plugin.
Namespace
Drupal\ckeditor\Plugin\CKEditorPluginCode
public function getCssFiles(Editor $editor) {
return [
$this->getModulePath('ckeditor') . '/css/plugins/language/ckeditor.language.css',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.