You are here

public function EditorSelectorInterface::getEditorAttachments in Drupal 10

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

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);