function Image::getAttachments
Returns the attachments for this editor.
Return value
array An array of attachments, for use with #attached.
Overrides InPlaceEditorInterface::getAttachments
File
- 
              core/modules/ quickedit/ src/ Plugin/ InPlaceEditor/ Image.php, line 31 
Class
- Image
- Defines the image text in-place editor.
Namespace
Drupal\quickedit\Plugin\InPlaceEditorCode
public function getAttachments() {
  return [
    'library' => [
      'quickedit/quickedit.inPlaceEditor.image',
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
