function brightcove_field_field_info in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 7.2 brightcove_field/brightcove_field.module \brightcove_field_field_info()
- 7.3 brightcove_field/brightcove_field.module \brightcove_field_field_info()
- 7.4 brightcove_field/brightcove_field.module \brightcove_field_field_info()
Implementation of hook_field_info().
File
- brightcove_field/
brightcove_field.module, line 386 - 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_field_info() {
return array(
'brightcove_field' => array(
'label' => t('Brightcove'),
'description' => t('Browse and upload videos or playlists at Brightcove.'),
'settings' => array(),
'instance_settings' => array(
'allow_upload' => FALSE,
'brightcove_player' => '',
'per_content_player' => FALSE,
),
'default_widget' => BRIGHTCOVE_VIDEO_WIDGET,
'default_formatter' => 'brightcove_default',
'property_type' => 'brightcove_field',
'property_callbacks' => array(
'brightcove_field_property_info_callback',
),
),
);
}