You are here

protected function EntityViewsData::getFieldStorageDefinitions in Drupal 9

Same name and namespace in other branches
  1. 8 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 119

Class

EntityViewsData
Provides generic views integration for entities.

Namespace

Drupal\views

Code

protected function getFieldStorageDefinitions() {
  if (!isset($this->fieldStorageDefinitions)) {
    $this->fieldStorageDefinitions = $this->entityFieldManager
      ->getFieldStorageDefinitions($this->entityType
      ->id());
  }
  return $this->fieldStorageDefinitions;
}