You are here

protected function EntityViewsData::getFieldStorageDefinitions in Drupal 8

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

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;
}