EditorSelectorInterface::getEditor

public EditorSelectorInterface::getEditor($formatter_type, FieldItemListInterface $items)

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.

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\quickedit

Code

public function getEditor($formatter_type, FieldItemListInterface $items);
doc_Drupal
2016-10-29 09:03:54
Comments
Leave a Comment

Please login to continue.