function AddStyleSheetCommand::render
Same name in other branches
- 8.9.x core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php \Drupal\ckeditor\Ajax\AddStyleSheetCommand::render()
Overrides CommandInterface::render
File
-
core/
modules/ ckeditor/ src/ Ajax/ AddStyleSheetCommand.php, line 56
Class
- AddStyleSheetCommand
- AJAX command to add style sheets to a CKEditor instance.
Namespace
Drupal\ckeditor\AjaxCode
public function render() {
return [
'command' => 'ckeditor_add_stylesheet',
'editor_id' => $this->editorId,
'stylesheets' => $this->styleSheets,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.