You are here

public function InPlaceEditorInterface::getAttachments in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php \Drupal\quickedit\Plugin\InPlaceEditorInterface::getAttachments()
  2. 9 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()

1 method overrides InPlaceEditorInterface::getAttachments()
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 52

Class

InPlaceEditorInterface
Defines an interface for in-place editors plugins.

Namespace

Drupal\quickedit\Plugin

Code

public function getAttachments();