function EntityViewsData::getFieldStorageDefinitions
Same name in other branches
- 8.9.x core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getFieldStorageDefinitions()
- 10 core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getFieldStorageDefinitions()
- 11.x core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getFieldStorageDefinitions()
Gets the field storage definitions.
Return value
\Drupal\Core\Field\FieldStorageDefinitionInterface[]
File
-
core/
modules/ views/ src/ EntityViewsData.php, line 120
Class
- EntityViewsData
- Provides generic views integration for entities.
Namespace
Drupal\viewsCode
protected function getFieldStorageDefinitions() {
if (!isset($this->fieldStorageDefinitions)) {
$this->fieldStorageDefinitions = $this->entityFieldManager
->getFieldStorageDefinitions($this->entityType
->id());
}
return $this->fieldStorageDefinitions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.