function brightcove_player_setdefault_form in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 7.2 brightcove.admin.inc \brightcove_player_setdefault_form()
- 7.3 brightcove.admin.inc \brightcove_player_setdefault_form()
- 7.4 brightcove.admin.inc \brightcove_player_setdefault_form()
1 string reference to 'brightcove_player_setdefault_form'
- brightcove_player_ui::set_default_page in plugins/
export_ui/ brightcove_player_ui.class.php - Page callback for "set default" op.
File
- ./
brightcove.admin.inc, line 425 - Admin settings for Brightcove module.
Code
function brightcove_player_setdefault_form($form, &$form_state, $player) {
$form['name'] = array(
'#type' => 'value',
'#value' => $player->name,
);
return confirm_form($form, t('Are you sure that you want to set "@name" player default?', array(
'@name' => $player->display_name,
)), 'admin/config/media/brightcove/players');
}