public property Field::$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

drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php, line 181
Contains \Drupal\field\Plugin\Core\Entity\Field.

Class

Field
Defines the Field entity.

Namespace

Drupal\field\Plugin\Core\Entity

Code

public $indexes = array();