function brightcove_field_element_info in Brightcove Video Connect 7.4
Same name and namespace in other branches
- 7.2 brightcove_field/brightcove_field.module \brightcove_field_element_info()
- 7.3 brightcove_field/brightcove_field.module \brightcove_field_element_info()
- 7.5 brightcove_field/brightcove_field.module \brightcove_field_element_info()
Implements hook_element_info().
File
- brightcove_field/
brightcove_field.module, line 609 - Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.
Code
function brightcove_field_element_info() {
$elements = array(
'brightcove_field_browser' => array(
'#input' => TRUE,
'#columns' => array(
'brightcove_id',
),
'#delta' => 0,
'#process' => array(
'brightcove_field_browser_process',
),
'#autocomplete_path' => FALSE,
),
'brightcove_field_browse_button' => array(
'#input' => FALSE,
),
);
return $elements;
}