function FieldStorageConfig::getPropertyDefinitions
Same name in other branches
- 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinitions()
- 8.9.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinitions()
- 11.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinitions()
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 791
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.