public function FieldInterface::getStorageDetails

Returns information about how the storage backend stores the field data.

The content of the returned value depends on the storage backend, and some storage backends might provide no information.

It is strongly discouraged to use this information to perform direct write operations to the field data storage, bypassing the regular field saving APIs.

Example return value for the default field_sql_storage backend:

Return value

array The storage details.

  • The first dimension is a store type (sql, solr, etc).
  • The second dimension indicates the age of the values in the store FIELD_LOAD_CURRENT or FIELD_LOAD_REVISION.
  • Other dimensions are specific to the field storage backend.
1 method overrides FieldInterface::getStorageDetails()
Field::getStorageDetails in drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php
Returns information about how the storage backend stores the field data.

File

drupal/core/modules/field/lib/Drupal/field/FieldInterface.php, line 61
Contains \Drupal\field\FieldInterface.

Class

FieldInterface
Provides an interface defining a field entity.

Namespace

Drupal\field

Code

public function getStorageDetails();