EntityViewsData::getFieldStorageDefinitions

protected EntityViewsData::getFieldStorageDefinitions()

Gets the field storage definitions.

Return value

\Drupal\Core\Field\FieldStorageDefinitionInterface[]

File

core/modules/views/src/EntityViewsData.php, line 108

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;
}
doc_Drupal
2016-10-29 09:09:11
Comments
Leave a Comment

Please login to continue.