function EditorSelectorInterface::getEditorAttachments

Same name in other branches
  1. 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()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.