1 field_sql_storage.module _field_sql_storage_tablename($field)

Generate a table name for a field data table.

Parameters

$field: The field structure.

Return value

A string containing the generated name for the database table

File

core/modules/field/modules/field_sql_storage/field_sql_storage.module, line 27
Default implementation of the field storage API.

Code

function _field_sql_storage_tablename($field) {
  return "field_data_{$field['field_name']}";
}