public function FieldStorageConfig::getPropertyDefinitions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinitions()
Gets an array of property definitions of contained properties.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name.
Overrides FieldStorageDefinitionInterface::getPropertyDefinitions
2 calls to FieldStorageConfig::getPropertyDefinitions()
- FieldStorageConfig::getPropertyDefinition in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Gets the definition of a contained property.
- FieldStorageConfig::getPropertyNames in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Returns the names of the field's subproperties.
File
- core/
modules/ field/ src/ Entity/ FieldStorageConfig.php, line 755
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
public function getPropertyDefinitions() {
if (!isset($this->propertyDefinitions)) {
$class = $this
->getFieldItemClass();
$this->propertyDefinitions = $class::propertyDefinitions($this);
}
return $this->propertyDefinitions;
}