protected FieldAPIHandlerTrait::getFieldStorageDefinition()
Gets the field storage configuration.
Return value
\Drupal\field\FieldStorageConfigInterface The field storage definition used by this handler
File
- core/modules/views/src/FieldAPIHandlerTrait.php, line 53
Class
- FieldAPIHandlerTrait
- A trait containing helper methods for field definitions.
Namespace
Drupal\views
Code
protected function getFieldStorageDefinition() { if (!$this->fieldStorageDefinition) { $field_storage_definitions = $this->getEntityManager()->getFieldStorageDefinitions($this->definition['entity_type']); $this->fieldStorageDefinition = $field_storage_definitions[$this->definition['field_name']]; } return $this->fieldStorageDefinition; }
Please login to continue.