function _field_sql_storage_columnname
Generate a column name for a field data table.
Parameters
$name: The name of the field
$column: The name of the column
Return value
A string containing a generated column name for a field data table that is unique among all other fields.
12 calls to _field_sql_storage_columnname()
- FieldSqlStorageTestCase::testFieldSqlStorageForeignKeys in modules/
field/ modules/ field_sql_storage/ field_sql_storage.test - Test foreign key support.
- FieldSqlStorageTestCase::testFieldStorageDetails in modules/
field/ modules/ field_sql_storage/ field_sql_storage.test - Test the storage details.
- field_sql_storage_field_storage_details in modules/
field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_details().
- field_sql_storage_field_storage_load in modules/
field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_load().
- field_sql_storage_field_storage_query in modules/
field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_query().
1 string reference to '_field_sql_storage_columnname'
- field_sql_storage_field_storage_query in modules/
field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_query().
File
-
modules/
field/ modules/ field_sql_storage/ field_sql_storage.module, line 121
Code
function _field_sql_storage_columnname($name, $column) {
return $name . '_' . $column;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.