function InPlaceEditorInterface::getAttachments

Same name and namespace in other branches
  1. 8.9.x core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php \Drupal\quickedit\Plugin\InPlaceEditorInterface::getAttachments()

Returns the attachments for this editor.

Return value

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

See also

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

File

core/modules/quickedit/src/Plugin/InPlaceEditorInterface.php, line 52

Class

InPlaceEditorInterface
Defines an interface for in-place editors plugins.

Namespace

Drupal\quickedit\Plugin

Code

public function getAttachments();

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