function og_create_admin_confirm in Organic groups 6
Same name and namespace in other branches
- 5.8 og.module \og_create_admin_confirm()
- 5 og.module \og_create_admin_confirm()
- 5.2 og.module \og_create_admin_confirm()
- 5.3 og.module \og_create_admin_confirm()
- 5.7 og.module \og_create_admin_confirm()
- 6.2 og.pages.inc \og_create_admin_confirm()
OG create admin form
File
- ./
og.module, line 785
Code
function og_create_admin_confirm($form_state, $node, $account) {
$form['node'] = array(
'#type' => 'value',
'#value' => $node,
);
$form['account'] = array(
'#type' => 'value',
'#value' => $account,
);
return confirm_form($form, t('Are you sure you want to make %name a group administrator for the group %title?', array(
'%name' => $account->name,
'%title' => $node->title,
)), "og/users/{$node->nid}", ' ', t('Confirm'), t('Cancel'));
}