You are here

public function FieldStorageConfig::setIndexes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 826
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

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