function InPlaceEditorBase::getMetadata

Same name in other branches
  1. 8.9.x core/modules/quickedit/src/Plugin/InPlaceEditorBase.php \Drupal\quickedit\Plugin\InPlaceEditorBase::getMetadata()

Overrides InPlaceEditorInterface::getMetadata

1 method overrides InPlaceEditorBase::getMetadata()
WysiwygEditor::getMetadata in core/modules/quickedit/tests/modules/src/Plugin/InPlaceEditor/WysiwygEditor.php
Generates metadata that is needed specifically for this editor.

File

core/modules/quickedit/src/Plugin/InPlaceEditorBase.php, line 21

Class

InPlaceEditorBase
Defines a base in-place editor implementation.

Namespace

Drupal\quickedit\Plugin

Code

public function getMetadata(FieldItemListInterface $items) {
    return [];
}

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