public TypedData::__construct($definition, $name = NULL, TypedDataInterface $parent = NULL)
Constructs a TypedData object given its definition and context.
@todo When \Drupal\Core\Config\TypedConfigManager has been fixed to use class-based definitions, type-hint $definition to DataDefinitionInterface. https://www.drupal.org/node/1928868
Parameters
\Drupal\Core\TypedData\DataDefinitionInterface $definition: The data definition.
string $name: (optional) The name of the created property, or NULL