You are here

public function EditorSelectorInterface::getEditorAttachments in Drupal 9

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

Returns the attachments for all editors.

Parameters

array $editor_ids: A list of all in-place editor IDs that should be attached.

Return value

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

See also

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

1 method overrides EditorSelectorInterface::getEditorAttachments()
EditorSelector::getEditorAttachments in core/modules/quickedit/src/EditorSelector.php
Returns the attachments for all editors.

File

core/modules/quickedit/src/EditorSelectorInterface.php, line 36

Class

EditorSelectorInterface
Interface for selecting an in-place editor (an Editor plugin) for a field.

Namespace

Drupal\quickedit

Code

public function getEditorAttachments(array $editor_ids);