function EditorSelectorInterface::getEditor
Same name in other branches
- 8.9.x core/modules/quickedit/src/EditorSelectorInterface.php \Drupal\quickedit\EditorSelectorInterface::getEditor()
Returns the in-place editor (an InPlaceEditor plugin) to use for a field.
Parameters
string $formatter_type: The field's formatter type name.
\Drupal\Core\Field\FieldItemListInterface $items: The field values to be in-place edited.
Return value
string|null The editor to use, or NULL to not enable in-place editing.
1 method overrides EditorSelectorInterface::getEditor()
- EditorSelector::getEditor in core/
modules/ quickedit/ src/ EditorSelector.php - Returns the in-place editor (an InPlaceEditor plugin) to use for a field.
File
-
core/
modules/ quickedit/ src/ EditorSelectorInterface.php, line 23
Class
- EditorSelectorInterface
- Interface for selecting an in-place editor (an Editor plugin) for a field.
Namespace
Drupal\quickeditCode
public function getEditor($formatter_type, FieldItemListInterface $items);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.