function Image::getAttachments

Same name in this branch
  1. 9 core/modules/quickedit/src/Plugin/InPlaceEditor/Image.php \Drupal\quickedit\Plugin\InPlaceEditor\Image::getAttachments()
Same name in other branches
  1. 8.9.x core/modules/image/src/Plugin/InPlaceEditor/Image.php \Drupal\image\Plugin\InPlaceEditor\Image::getAttachments()

Overrides InPlaceEditorInterface::getAttachments

File

core/modules/image/src/Plugin/InPlaceEditor/Image.php, line 44

Class

Image
Defines the image text in-place editor.

Namespace

Drupal\image\Plugin\InPlaceEditor

Code

public function getAttachments() {
    return [
        'library' => [
            'image/quickedit.inPlaceEditor.image',
        ],
    ];
}

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