function InPlaceEditorInterface::getAttachments
Same name in other branches
- 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()
7 methods override InPlaceEditorInterface::getAttachments()
- Editor::getAttachments in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ Editor.php - Returns the attachments for this editor.
- Editor::getAttachments in core/
modules/ editor/ src/ Plugin/ InPlaceEditor/ Editor.php - Returns the attachments for this editor.
- FormEditor::getAttachments in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ FormEditor.php - Returns the attachments for this editor.
- Image::getAttachments in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ Image.php - Returns the attachments for this editor.
- Image::getAttachments in core/
modules/ image/ src/ Plugin/ InPlaceEditor/ Image.php - Returns the attachments for this editor.
File
-
core/
modules/ quickedit/ src/ Plugin/ InPlaceEditorInterface.php, line 52
Class
- InPlaceEditorInterface
- Defines an interface for in-place editors plugins.
Namespace
Drupal\quickedit\PluginCode
public function getAttachments();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.