Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityViewsData.php

function 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\views

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal