public function EditPluginInterface::getAttachments

Returns the attachments for this editor.

Return value

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

See also

drupal_process_attached()

4 methods override EditPluginInterface::getAttachments()
DirectEditor::getAttachments in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/DirectEditor.php
Implements \Drupal\edit\EditPluginInterface::getAttachments().
Editor::getAttachments in drupal/core/modules/editor/lib/Drupal/editor/Plugin/InPlaceEditor/Editor.php
Implements \Drupal\edit\EditPluginInterface::getAttachments().
FormEditor::getAttachments in drupal/core/modules/edit/lib/Drupal/edit/Plugin/InPlaceEditor/FormEditor.php
Implements \Drupal\edit\EditPluginInterface::getAttachments().
WysiwygEditor::getAttachments in drupal/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/InPlaceEditor/WysiwygEditor.php
Implements \Drupal\edit\EditPluginInterface::getAttachments().

File

drupal/core/modules/edit/lib/Drupal/edit/EditPluginInterface.php, line 59
Contains \Drupal\edit\EditPluginInterface.

Class

EditPluginInterface
Defines an interface for in-place editors (Create.js PropertyEditor widgets).

Namespace

Drupal\edit

Code

public function getAttachments();