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 plugins. |
EditorSelector::$formatterManager | protected | property | The manager for formatter plugins. |
EditorSelector::getEditor | public | function | Returns the in-place editor (an InPlaceEditor plugin) to use for a field. Overrides EditorSelectorInterface::getEditor |
EditorSelector::getEditorAttachments | public | function | Returns the attachments for all editors. Overrides EditorSelectorInterface::getEditorAttachments |
EditorSelector::__construct | public | function | Constructs a new EditorSelector. |
Please login to continue.