public function InPlaceEditorInterface::getAttachments in Drupal 9
Same name and namespace in other branches
- 8 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()
5 methods override InPlaceEditorInterface::getAttachments()
- 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/ image/ src/ Plugin/ InPlaceEditor/ Image.php - Returns the attachments for this editor.
- PlainTextEditor::getAttachments in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ PlainTextEditor.php - Returns the attachments for this editor.
- WysiwygEditor::getAttachments in core/
modules/ quickedit/ tests/ modules/ src/ Plugin/ InPlaceEditor/ WysiwygEditor.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();