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 EditorSelect

EditorSelectorInterface

Interface for selecting an in-place editor (an Editor plugin) for a field. Hierarchy interface \Drupal\quickedit\EditorSelectorInterface File core/modules/quickedit/src/EditorSelectorInterface.php, line 10 Namespace Drupal\quickedit Members Name Modifiers Type Description EditorSelectorInterface::getEditor public function Returns the in-place editor (an InPlaceEditor plugin) to use for a field. EditorSelectorInterface::getEditorAttachments public function Returns

EditorSelector::__construct

public EditorSelector::__construct(PluginManagerInterface $editor_manager, FormatterPluginManager $formatter_manager) Constructs a new EditorSelector. Parameters \Drupal\Component\Plugin\PluginManagerInterface $editor_manager: The manager for editor plugins. \Drupal\Core\Field\FormatterPluginManager $formatter_manager: The manager for formatter plugins. File core/modules/quickedit/src/EditorSelector.php, line 44 Class EditorSelector Selects an in-place editor (an InPlaceEditor plugin) for

EditorSelector::getEditorAttachments

public EditorSelector::getEditorAttachments(array $editor_ids) Returns the attachments for all editors. Parameters array $editor_ids: A list of all in-place editor IDs that should be attached. Return value array An array of attachments, for use with #attached. Overrides EditorSelectorInterface::getEditorAttachments See also \Drupal\Core\Render\AttachmentsResponseProcessorInterface::processAttachments() File core/modules/quickedit/src/EditorSelector.php, line 88 Class EditorSelector Sele

EditorSelector::getEditor

public EditorSelector::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. Overrides EditorSelectorInterface::getEditor File core/modules/quickedit/src/EditorSelector.php, lin

EditorSelector::$formatterManager

The manager for formatter plugins. Type: \Drupal\Core\Field\FormatterPluginManager. File core/modules/quickedit/src/EditorSelector.php, line 27 Class EditorSelector Selects an in-place editor (an InPlaceEditor plugin) for a field. Namespace Drupal\quickedit Code protected $formatterManager;

EditorSelector::$editorManager

The manager for editor plugins. Type: \Drupal\Component\Plugin\PluginManagerInterface File core/modules/quickedit/src/EditorSelector.php, line 20 Class EditorSelector Selects an in-place editor (an InPlaceEditor plugin) for a field. Namespace Drupal\quickedit Code protected $editorManager;

EditorSelector::$alternatives

A list of alternative editor plugin IDs, keyed by editor plugin ID. Type: array File core/modules/quickedit/src/EditorSelector.php, line 34 Class EditorSelector Selects an in-place editor (an InPlaceEditor plugin) for a field. Namespace Drupal\quickedit Code protected $alternatives;

EditorSelector

Selects an in-place editor (an InPlaceEditor plugin) for a field. Hierarchy class \Drupal\quickedit\EditorSelector implements EditorSelectorInterface File core/modules/quickedit/src/EditorSelector.php, line 13 Namespace Drupal\quickedit Members Name Modifiers Type Description EditorSelector::$alternatives protected property A list of alternative editor plugin IDs, keyed by editor plugin ID. EditorSelector::$editorManager protected property The manager for editor

EditorInterface::setSettings

public EditorInterface::setSettings(array $settings) Sets the text editor plugin-specific settings. Parameters array $settings: The structured array containing all text editor settings. Return value $this File core/modules/editor/src/EditorInterface.php, line 65 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function setSettings(array $settings);