EditorSelectorInterface
interface EditorSelectorInterface (View source)
Interface for selecting an in-place editor (an Editor plugin) for a field.
Methods
string|null
getEditor(string $formatter_type, FieldItemListInterface $items)
Returns the in-place editor (an InPlaceEditor plugin) to use for a field.
array
getEditorAttachments(array $editor_ids)
Returns the attachments for all editors.
Details
string|null
getEditor(string $formatter_type, FieldItemListInterface $items)
Returns the in-place editor (an InPlaceEditor plugin) to use for a field.
array
getEditorAttachments(array $editor_ids)
Returns the attachments for all editors.