You are here

protected function EntityViewsData::getFieldStorageDefinitions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 106
Contains \Drupal\views\EntityViewsData.

Class

EntityViewsData
Provides generic views integration for entities.

Namespace

Drupal\views

Code

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