class InPlaceEditorBase
Same name in other branches
- 8.9.x core/modules/quickedit/src/Plugin/InPlaceEditorBase.php \Drupal\quickedit\Plugin\InPlaceEditorBase
Defines a base in-place editor implementation.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\quickedit\Plugin\InPlaceEditorBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\quickedit\Plugin\InPlaceEditorInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of InPlaceEditorBase
See also
\Drupal\quickedit\Annotation\InPlaceEditor
\Drupal\quickedit\Plugin\InPlaceEditorInterface
\Drupal\quickedit\Plugin\InPlaceEditorManager
5 files declare their use of InPlaceEditorBase
- FormEditor.php in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ FormEditor.php - Image.php in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ Image.php - Image.php in core/
modules/ image/ src/ Plugin/ InPlaceEditor/ Image.php - PlainTextEditor.php in core/
modules/ quickedit/ src/ Plugin/ InPlaceEditor/ PlainTextEditor.php - WysiwygEditor.php in core/
modules/ quickedit/ tests/ modules/ src/ Plugin/ InPlaceEditor/ WysiwygEditor.php
File
-
core/
modules/ quickedit/ src/ Plugin/ InPlaceEditorBase.php, line 16
Namespace
Drupal\quickedit\PluginView source
abstract class InPlaceEditorBase extends PluginBase implements InPlaceEditorInterface {
/**
* {@inheritdoc}
*/
public function getMetadata(FieldItemListInterface $items) {
return [];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
InPlaceEditorBase::getMetadata | public | function | Generates metadata that is needed specifically for this editor. | Overrides InPlaceEditorInterface::getMetadata | 1 |
InPlaceEditorInterface::getAttachments | public | function | Returns the attachments for this editor. | 7 | |
InPlaceEditorInterface::isCompatible | public | function | Checks whether this in-place editor is compatible with a given field. | 7 | |
PluginInspectionInterface::getPluginDefinition | public | function | Gets the definition of the plugin implementation. | 6 | |
PluginInspectionInterface::getPluginId | public | function | Gets the plugin_id of the plugin instance. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.