function FormEditor::getAttachments

Same name and namespace in other branches
  1. 9 core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\FormEditor::getAttachments()

Overrides InPlaceEditorInterface::getAttachments

File

core/modules/quickedit/src/Plugin/InPlaceEditor/FormEditor.php, line 27

Class

FormEditor
Defines the form in-place editor.

Namespace

Drupal\quickedit\Plugin\InPlaceEditor

Code

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

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