You are here

abstract protected function TypedDataPropertyDeriverBase::generateDerivativeDefinition in Chaos Tool Suite (ctools) 8.3

Generates and maintains a derivative definition.

This method should directly manipulate $this->derivatives and not return values. This allows implementations control over the derivative names.

Parameters

$base_plugin_definition: The base plugin definition.

string $data_type_id: The plugin id of the data type.

mixed $data_type_definition: The plugin definition of the data type.

\Drupal\Core\TypedData\DataDefinitionInterface $base_definition: The data type definition of a complex data object.

string $property_name: The name of the property.

\Drupal\Core\TypedData\DataDefinitionInterface $property_definition: The property definition.

1 call to TypedDataPropertyDeriverBase::generateDerivativeDefinition()
TypedDataPropertyDeriverBase::getDerivativeDefinitions in src/Plugin/Deriver/TypedDataPropertyDeriverBase.php
Gets the definition of all derivatives of a base plugin.
1 method overrides TypedDataPropertyDeriverBase::generateDerivativeDefinition()
TypedDataRelationshipDeriver::generateDerivativeDefinition in src/Plugin/Deriver/TypedDataRelationshipDeriver.php
Generates and maintains a derivative definition.

File

src/Plugin/Deriver/TypedDataPropertyDeriverBase.php, line 110

Class

TypedDataPropertyDeriverBase

Namespace

Drupal\ctools\Plugin\Deriver

Code

protected abstract function generateDerivativeDefinition($base_plugin_definition, $data_type_id, $data_type_definition, DataDefinitionInterface $base_definition, $property_name, DataDefinitionInterface $property_definition);