function _brightcove_field_get_object_formatter_keys in Brightcove Video Connect 7.4
Same name and namespace in other branches
- 7.7 brightcove.module \_brightcove_field_get_object_formatter_keys()
- 7.2 brightcove_field/brightcove_field.module \_brightcove_field_get_object_formatter_keys()
- 7.3 brightcove_field/brightcove_field.module \_brightcove_field_get_object_formatter_keys()
- 7.5 brightcove_field/brightcove_field.module \_brightcove_field_get_object_formatter_keys()
- 7.6 brightcove.module \_brightcove_field_get_object_formatter_keys()
Brightcove video metadata properties.
Return value
array
3 calls to _brightcove_field_get_object_formatter_keys()
- brightcove_field_field_formatter_settings_form in brightcove_field/
brightcove_field.module - Impelements hook_field_formatter_settings_form().
- brightcove_field_field_formatter_settings_summary in brightcove_field/
brightcove_field.module - Implements hook_field_formatter_settings_summary().
- brightcove_field_field_formatter_view in brightcove_field/
brightcove_field.module - Implements hook_field_formatter_view().
File
- brightcove_field/
brightcove_field.module, line 1382 - 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_get_object_formatter_keys($type = 'video') {
switch ($type) {
case 'video':
return array(
'name' => t('Name'),
'shortDescription' => t('Short description'),
'longDescription' => t('Long description'),
'creationDate' => t('Creation date'),
'publishedDate' => t('Published date'),
'lastModifiedDate' => t('Last modified date'),
'length' => t('Length'),
'playsTotal' => t('Total plays'),
'playsTrailingWeek' => t('Trailing week plays'),
);
case 'playlist':
return array(
'name' => t('Name'),
'shortDescription' => t('Short description'),
);
}
}