FieldStorageConfig::$indexes

The custom storage indexes for the field data storage.

This set of indexes is merged with the "default" indexes specified by the field type in hook_field_schema() to determine the actual set of indexes that get created.

The indexes are defined using the same definition format as Schema API index specifications. Only columns that are part of the field schema, as defined by the field type in hook_field_schema(), are allowed.

Some storage backends might not support indexes, and discard that information.

Type: array

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 182

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $indexes = [];
doc_Drupal
2016-10-29 09:12:15
Comments
Leave a Comment

Please login to continue.