public function PlainTextEditor::getAttachments in Drupal 10
Same name and namespace in other branches
- 8 core/modules/quickedit/src/Plugin/InPlaceEditor/PlainTextEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\PlainTextEditor::getAttachments()
 - 9 core/modules/quickedit/src/Plugin/InPlaceEditor/PlainTextEditor.php \Drupal\quickedit\Plugin\InPlaceEditor\PlainTextEditor::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\InPlaceEditorCode
public function getAttachments() {
  return [
    'library' => [
      'quickedit/quickedit.inPlaceEditor.plainText',
    ],
  ];
}