You are here

function _serial_get_field_table_name in Serial Field 7

Same name and namespace in other branches
  1. 6 serial.inc \_serial_get_field_table_name()

Gets the name of the assistant table for a specific field.

Parameters

array $field: Serial field.

array $instance: An instance of that serial field.

Return value

string The name of the assistant table of the specified field instance.

2 calls to _serial_get_field_table_name()
_serial_create_table in ./serial.inc
Creates an assistant serial table for a new created field.
_serial_drop_table in ./serial.inc
Drops an assistant serial table for a deleted field.

File

./serial.inc, line 84
Internal functions for the Serial module.

Code

function _serial_get_field_table_name(array $field, array $instance) {
  return _serial_get_table_name($instance['entity_type'], $instance['bundle'], $field['field_name']);
}