public function Gutenberg::buildContentsCssJsSetting in Gutenberg 8
Same name and namespace in other branches
- 8.2 src/Plugin/Editor/Gutenberg.php \Drupal\gutenberg\Plugin\Editor\Gutenberg::buildContentsCssJsSetting()
Builds the "contentsCss" configuration part of the CKEditor JS settings.
Parameters
\Drupal\editor\Entity\Editor $editor: A configured text editor object.
Return value
array An array containing the "contentsCss" configuration.
See also
getJsSettings()
File
- src/
Plugin/ Editor/ Gutenberg.php, line 219
Class
- Gutenberg
- Defines a Gutenberg-based text editor for Drupal.
Namespace
Drupal\gutenberg\Plugin\EditorCode
public function buildContentsCssJsSetting(Editor $editor) {
return [];
}