function FieldStorageDefinitionInterface::getPropertyDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getPropertyDefinition()
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getPropertyDefinition()
- 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::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 FieldStorageDefinitionInterface::getPropertyDefinition()
- BaseFieldDefinition::getPropertyDefinition in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - FieldStorageConfig::getPropertyDefinition in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Gets the definition of a contained property.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 172
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function getPropertyDefinition($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.