You are here

public function PluginConfiguration::__construct in Plugin 8.2

Constructs a new instance.

Parameters

\Drupal\Core\TypedData\DataDefinitionInterface $definition: The data definition.

string $name: The name of the created property.

\Drupal\plugin\Plugin\Field\FieldType\PluginCollectionItemInterface $parent: The parent object of the data property.

Overrides TypedData::__construct

File

src/Plugin/DataType/PluginConfiguration.php, line 45

Class

PluginConfiguration
Provides a plugin configuration data type.

Namespace

Drupal\plugin\Plugin\DataType

Code

public function __construct(DataDefinitionInterface $definition, $name, PluginCollectionItemInterface $parent) {
  parent::__construct($definition, $name, $parent);
}