function emvideo_emfield_field_columns_extra in Embedded Media Field 6.2
Implements hook_emfield_field_columns_extra(). This is called to add 2 extra columns to the database to store the title and description.
File
- contrib/
emvideo/ emvideo.module, line 732 - Embedded Video module is a handler for 3rd party video files.
Code
function emvideo_emfield_field_columns_extra() {
$columns = array(
'title' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
'sortable' => TRUE,
),
'description' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
'sortable' => TRUE,
),
);
return $columns;
}