function brightcove_field_widget_info in Brightcove Video Connect 7.6
Same name and namespace in other branches
- 7.7 brightcove.module \brightcove_field_widget_info()
Implementats hook_widget_info().
File
- ./
brightcove.module, line 724 - Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.
Code
function brightcove_field_widget_info() {
return [
BRIGHTCOVE_VIDEO_WIDGET => [
'label' => t('Video (upload/browse)'),
'field types' => [
'brightcove_field',
],
'behaviors' => [
'default value' => FIELD_BEHAVIOR_NONE,
],
],
BRIGHTCOVE_PLAYLIST_WIDGET => [
'label' => t('Playlist (create/browse)'),
'field types' => [
'brightcove_field',
],
'behaviors' => [
'default value' => FIELD_BEHAVIOR_NONE,
],
],
];
}