You are here

public function InPlaceEditorInterface::getAttachments in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php \Drupal\quickedit\Plugin\InPlaceEditorInterface::getAttachments()

Returns the attachments for this editor.

Return value

array An array of attachments, for use with #attached.

See also

\Drupal\Core\Render\AttachmentsResponseProcessorInterface::processAttachments()

4 methods override InPlaceEditorInterface::getAttachments()
Editor::getAttachments in core/modules/editor/src/Plugin/InPlaceEditor/Editor.php
Returns the attachments for this editor.
FormEditor::getAttachments in core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php
Returns the attachments for this editor.
PlainTextEditor::getAttachments in core/modules/quickedit/src/Plugin/InPlaceEditor/PlainTextEditor.php
Returns the attachments for this editor.
WysiwygEditor::getAttachments in core/modules/quickedit/tests/modules/src/Plugin/InPlaceEditor/WysiwygEditor.php
Returns the attachments for this editor.

File

core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php, line 57
Contains \Drupal\quickedit\Plugin\InPlaceEditorInterface.

Class

InPlaceEditorInterface
Defines an interface for in-place editors plugins.

Namespace

Drupal\quickedit\Plugin

Code

public function getAttachments();