You are here

public function FieldStorageConfig::setIndexes in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::setIndexes()

Sets the custom storage indexes for the field data storage..

Parameters

array $indexes: The array of custom indexes.

Return value

$this

Overrides FieldStorageConfigInterface::setIndexes

File

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

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function setIndexes(array $indexes) {
  $this->indexes = $indexes;
  return $this;
}