class DefaultFieldInheritancePlugin in Field Inheritance 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/FieldInheritance/DefaultFieldInheritancePlugin.php \Drupal\field_inheritance\Plugin\FieldInheritance\DefaultFieldInheritancePlugin
Default Inheritance plugin.
Plugin annotation
@FieldInheritance(
id = "default_inheritance",
name = @Translation("Default Field Inheritance"),
types = {
"any",
}
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\field_inheritance\Plugin\FieldInheritance\FieldInheritancePluginBase implements ContainerFactoryPluginInterface, FieldInheritancePluginInterface
- class \Drupal\field_inheritance\Plugin\FieldInheritance\DefaultFieldInheritancePlugin implements FieldInheritancePluginInterface
- class \Drupal\field_inheritance\Plugin\FieldInheritance\FieldInheritancePluginBase implements ContainerFactoryPluginInterface, FieldInheritancePluginInterface
Expanded class hierarchy of DefaultFieldInheritancePlugin
File
- src/
Plugin/ FieldInheritance/ DefaultFieldInheritancePlugin.php, line 18
Namespace
Drupal\field_inheritance\Plugin\FieldInheritanceView source
class DefaultFieldInheritancePlugin extends FieldInheritancePluginBase implements FieldInheritancePluginInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldInheritancePluginBase:: |
protected | property | The entity field used to inherit. | |
FieldInheritancePluginBase:: |
protected | property | The entity. | |
FieldInheritancePluginBase:: |
protected | property | The entity type manager. | |
FieldInheritancePluginBase:: |
protected | property | The field inheritance id. | |
FieldInheritancePluginBase:: |
protected | property | The key value store. | |
FieldInheritancePluginBase:: |
protected | property | The current language code. | |
FieldInheritancePluginBase:: |
protected | property | The language manager service. | |
FieldInheritancePluginBase:: |
protected | property | The method used to inherit. | |
FieldInheritancePluginBase:: |
protected | property | The source entity type used to inherit. | |
FieldInheritancePluginBase:: |
protected | property | The source field used to inherit. | |
FieldInheritancePluginBase:: |
protected | function | Retrieve appended data. | |
FieldInheritancePluginBase:: |
public | function |
Compute the value of the field. Overrides FieldInheritancePluginInterface:: |
|
FieldInheritancePluginBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |
|
FieldInheritancePluginBase:: |
protected | function | Retrieve fallback data. | |
FieldInheritancePluginBase:: |
protected | function | Get the translated destination entity. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration destination entity bundle. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration destination entity type. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration destination field. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration method. | |
FieldInheritancePluginBase:: |
protected | function | Get the translated source entity. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration source entity bundle. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration source entity type. | |
FieldInheritancePluginBase:: |
public | function | Get the configuration source field. | |
FieldInheritancePluginBase:: |
protected | function | Retrieve inherited data. | |
FieldInheritancePluginBase:: |
protected | function | Retrieve prepended data. | |
FieldInheritancePluginBase:: |
protected | function | Validate the configuration arguments of the plugin. | |
FieldInheritancePluginBase:: |
public | function |
Constructs a FieldInheritancePluginBase object. Overrides PluginBase:: |
|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
2 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. |