public function 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_process_attached()

1 method overrides EditorSelectorInterface::getEditorAttachments()
EditorSelector::getEditorAttachments in drupal/core/modules/edit/lib/Drupal/edit/EditorSelector.php
Returns the attachments for all editors.

File

drupal/core/modules/edit/lib/Drupal/edit/EditorSelectorInterface.php, line 43
Contains \Drupal\edit\EditorSelectorInterface.

Class

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

Namespace

Drupal\edit

Code

public function getEditorAttachments(array $editor_ids);