You are here

public function QuickEditEditorSelectorInterface::getEditor in Quick Edit 7

Returns the in-place editor (an Editor plugin) to use for a field.

Parameters

string $formatter_type: The field's formatter type name.

array $instance: The field's instance info.

array $items: The field's item values.

Return value

string|NULL The editor to use, or NULL to not enable in-place editing.

1 method overrides QuickEditEditorSelectorInterface::getEditor()
QuickEditEditorSelector::getEditor in includes/QuickEditEditorSelector.php
Implements QuickEditEditorSelectorInterface::getEditor().

File

includes/QuickEditEditorSelectorInterface.php, line 28
Contains Quick Edit's EditorSelectorInterface.

Class

QuickEditEditorSelectorInterface
Interface for selecting an in-place editor (an Editor plugin) for a field.

Code

public function getEditor($formatter_type, array $instance, array $items);