1 date.module date_database_info($field, $revision = FIELD_LOAD_CURRENT)

Temporary helper to re-create equivalent of content_database_info().

File

core/modules/date/date.module, line 907
Defines date/time field types.

Code

function date_database_info($field, $revision = FIELD_LOAD_CURRENT) {
  return array(
    'columns' => $field['storage']['details']['sql'][$revision],
    'table' => _field_sql_storage_tablename($field),
  );
}