function _field_sql_storage_indexname
_field_sql_storage_indexname($name, $index)
Generate an index name for a field data table.
Parameters
$name: The name of the field
$column: The name of the index
Return value
A string containing a generated index name for a field data table that is unique among all other fields.
File
- modules/field/modules/field_sql_storage/field_sql_storage.module, line 136
- Default implementation of the field storage API.
Code
function _field_sql_storage_indexname($name, $index) { return $name . '_' . $index; }
© 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/modules!field!modules!field_sql_storage!field_sql_storage.module/function/_field_sql_storage_indexname/7.x