function DrupalMedia::getCssFiles
Same name in other branches
- 9 core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMedia.php \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalMedia::getCssFiles()
@todo Improve this in https://www.drupal.org/project/drupal/issues/3072063
Overrides CKEditorPluginCssInterface::getCssFiles
File
-
core/
modules/ media/ src/ Plugin/ CKEditorPlugin/ DrupalMedia.php, line 125
Class
- DrupalMedia
- Defines the "drupalmedia" plugin.
Namespace
Drupal\media\Plugin\CKEditorPluginCode
public function getCssFiles(Editor $editor) {
return [
$this->moduleExtensionList
->getPath('media') . '/css/plugins/drupalmedia/ckeditor.drupalmedia.css',
$this->moduleExtensionList
->getPath('system') . '/css/components/hidden.module.css',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.