Defines a base editor implementation.
Expanded class hierarchy of EditorBase
abstract class EditorBase extends PluginBase implements EditPluginInterface {
/**
* Implements \Drupal\edit\EditPluginInterface::getMetadata().
*/
function getMetadata(FieldInstance $instance, array $items) {
return array();
}
}
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EditorBase:: |
function |
Implements \Drupal\edit\EditPluginInterface::getMetadata(). Overrides EditPluginInterface:: |
1 | |
EditPluginInterface:: |
public | function | Returns the attachments for this editor. | 4 |
EditPluginInterface:: |
public | function | Checks whether this editor is compatible with a given field instance. | 4 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
public | function |
Returns the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function |
Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Constructs a Drupal\Component\Plugin\PluginBase object. | 17 |