function ComplexDataDefinitionInterface::getPropertyDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/ComplexDataDefinitionInterface.php \Drupal\Core\TypedData\ComplexDataDefinitionInterface::getPropertyDefinition()
- 10 core/lib/Drupal/Core/TypedData/ComplexDataDefinitionInterface.php \Drupal\Core\TypedData\ComplexDataDefinitionInterface::getPropertyDefinition()
- 11.x core/lib/Drupal/Core/TypedData/ComplexDataDefinitionInterface.php \Drupal\Core\TypedData\ComplexDataDefinitionInterface::getPropertyDefinition()
Gets the definition of a contained property.
Parameters
string $name: The name of property.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface|null The definition of the property or NULL if the property does not exist.
2 methods override ComplexDataDefinitionInterface::getPropertyDefinition()
- ComplexDataDefinitionBase::getPropertyDefinition in core/
lib/ Drupal/ Core/ TypedData/ ComplexDataDefinitionBase.php - Gets the definition of a contained property.
- FieldItemDataDefinition::getPropertyDefinition in core/
lib/ Drupal/ Core/ Field/ TypedData/ FieldItemDataDefinition.php - Gets the definition of a contained property.
File
-
core/
lib/ Drupal/ Core/ TypedData/ ComplexDataDefinitionInterface.php, line 23
Class
- ComplexDataDefinitionInterface
- Interface for complex data definitions.
Namespace
Drupal\Core\TypedDataCode
public function getPropertyDefinition($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.