function PlainTextEditor::getAttachments

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

Overrides InPlaceEditorInterface::getAttachments

File

core/modules/quickedit/src/Plugin/InPlaceEditor/PlainTextEditor.php, line 30

Class

PlainTextEditor
Defines the plain text in-place editor.

Namespace

Drupal\quickedit\Plugin\InPlaceEditor

Code

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

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