You are here

class DefaultFieldInheritancePlugin in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x 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

Expanded class hierarchy of DefaultFieldInheritancePlugin

File

src/Plugin/FieldInheritance/DefaultFieldInheritancePlugin.php, line 18

Namespace

Drupal\field_inheritance\Plugin\FieldInheritance
View source
class DefaultFieldInheritancePlugin extends FieldInheritancePluginBase implements FieldInheritancePluginInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
FieldInheritancePluginBase::$destinationField protected property The entity field used to inherit.
FieldInheritancePluginBase::$entity protected property The entity.
FieldInheritancePluginBase::$entityTypeManager protected property The entity type manager.
FieldInheritancePluginBase::$fieldInheritanceId protected property The field inheritance id.
FieldInheritancePluginBase::$keyValue protected property The key value store.
FieldInheritancePluginBase::$langCode protected property The current language code.
FieldInheritancePluginBase::$languageManager protected property The language manager service.
FieldInheritancePluginBase::$method protected property The method used to inherit.
FieldInheritancePluginBase::$sourceEntityType protected property The source entity type used to inherit.
FieldInheritancePluginBase::$sourceField protected property The source field used to inherit.
FieldInheritancePluginBase::appendData protected function Retrieve appended data.
FieldInheritancePluginBase::computeValue public function Compute the value of the field. Overrides FieldInheritancePluginInterface::computeValue
FieldInheritancePluginBase::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface::create
FieldInheritancePluginBase::fallbackData protected function Retrieve fallback data.
FieldInheritancePluginBase::getDestinationEntity protected function Get the translated destination entity.
FieldInheritancePluginBase::getDestinationEntityBundle public function Get the configuration destination entity bundle.
FieldInheritancePluginBase::getDestinationEntityType public function Get the configuration destination entity type.
FieldInheritancePluginBase::getDestinationField public function Get the configuration destination field.
FieldInheritancePluginBase::getMethod public function Get the configuration method.
FieldInheritancePluginBase::getSourceEntity protected function Get the translated source entity.
FieldInheritancePluginBase::getSourceEntityBundle public function Get the configuration source entity bundle.
FieldInheritancePluginBase::getSourceEntityType public function Get the configuration source entity type.
FieldInheritancePluginBase::getSourceField public function Get the configuration source field.
FieldInheritancePluginBase::inheritData protected function Retrieve inherited data.
FieldInheritancePluginBase::prependData protected function Retrieve prepended data.
FieldInheritancePluginBase::validateArguments protected function Validate the configuration arguments of the plugin.
FieldInheritancePluginBase::__construct public function Constructs a FieldInheritancePluginBase object. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.