function embonus_emfield_field_columns_extra in Embedded Media Field 6.2
Implementation of hook_emfield_field_columns_extra().
File
- contrib/
embonus/ embonus.module, line 36
Code
function embonus_emfield_field_columns_extra($field) {
if ($field['collect_start_end_times']) {
return array(
'start_time' => array(
'description' => "The time to start the media display.",
'type' => 'int',
'unsigned' => 'TRUE',
'sortable' => FALSE,
'not null' => TRUE,
'default' => 0,
),
'end_time' => array(
'description' => "The time to end the media display.",
'type' => 'int',
'unsigned' => 'TRUE',
'sortable' => FALSE,
'not null' => TRUE,
'default' => 0,
),
);
}
}