protected function SqlContentEntityStorageSchema::getFieldIndexes
protected SqlContentEntityStorageSchema::getFieldIndexes($field_name, array $field_schema, array $column_mapping)
Gets an index schema array for a given field.
Parameters
string $field_name: The name of the field.
array $field_schema: The schema of the field.
string[] $column_mapping: A mapping of field column names to database column names.
Return value
array The schema definition for the indexes.
File
- core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 640
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\SqlCode
protected function getFieldIndexes($field_name, array $field_schema, array $column_mapping) { return $this->getFieldSchemaData($field_name, $field_schema, $column_mapping, 'indexes'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlContentEntityStorageSchema.php/function/SqlContentEntityStorageSchema::getFieldIndexes/8.1.x