function FieldStorageConfig::getPropertyDefinition

Same name in other branches
  1. 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinition()
  2. 8.9.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinition()
  3. 10 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::getPropertyDefinition()

Overrides FieldStorageDefinitionInterface::getPropertyDefinition

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 787

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function getPropertyDefinition($name) {
    if (!isset($this->propertyDefinitions)) {
        $this->getPropertyDefinitions();
    }
    if (isset($this->propertyDefinitions[$name])) {
        return $this->propertyDefinitions[$name];
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.