function WysiwygEditor::getAttachments
Returns the attachments for this editor.
Return value
array An array of attachments, for use with #attached.
Overrides InPlaceEditorInterface::getAttachments
File
-
core/
modules/ quickedit/ tests/ modules/ src/ Plugin/ InPlaceEditor/ WysiwygEditor.php, line 44
Class
- WysiwygEditor
- Defines the 'wysiwyg' in-place editor.
Namespace
Drupal\quickedit_test\Plugin\InPlaceEditorCode
public function getAttachments() {
return [
'library' => [
'quickedit_test/not-existing-wysiwyg',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.