public function WysiwygEditor::getAttachments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/quickedit/tests/modules/src/Plugin/InPlaceEditor/WysiwygEditor.php \Drupal\quickedit_test\Plugin\InPlaceEditor\WysiwygEditor::getAttachments()
Returns the attachments for this editor.
Return value
array An array of attachments, for use with #attached.
Overrides InPlaceEditorInterface::getAttachments
See also
\Drupal\Core\Render\AttachmentsResponseProcessorInterface::processAttachments()
File
- core/
modules/ quickedit/ tests/ modules/ src/ Plugin/ InPlaceEditor/ WysiwygEditor.php, line 55 - Contains \Drupal\quickedit_test\Plugin\InPlaceEditor\WysiwygEditor.
Class
- WysiwygEditor
- Defines the 'wysiwyg' in-place editor.
Namespace
Drupal\quickedit_test\Plugin\InPlaceEditorCode
public function getAttachments() {
return array(
'library' => array(
'quickedit_test/not-existing-wysiwyg',
),
);
}