You are here

function bbb_end_confirm_form in BigBlueButton 7

Same name and namespace in other branches
  1. 6 bbb.module \bbb_end_confirm_form()

Terminate confirm form

1 string reference to 'bbb_end_confirm_form'
bbb_menu in ./bbb.module
Implement HOOK_menu().

File

./bbb.module, line 799
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function bbb_end_confirm_form($form, &$form_state) {
  $node = node_load(arg(1));
  return confirm_form(array(
    'nid' => array(
      '#type' => 'value',
      '#value' => $node->nid,
    ),
  ), t('Are you sure you want to terminate the meeting !name?', array(
    '!name' => $node->title,
  )), 'node/' . $node->nid, t('This action cannot be undone, all attendes will be removed from the meeting.'), t('Terminate'), t('Cancel'));
}