function og_ui_field_delete_form in Organic groups 7
Same name and namespace in other branches
- 7.2 og_ui/og_ui.admin.inc \og_ui_field_delete_form()
Menu callback; present a form for removing a field instance from a bundle.
1 string reference to 'og_ui_field_delete_form'
- og_ui_menu in og_ui/
og_ui.module - Implements hook_menu().
File
- og_ui/
og_ui.admin.inc, line 833 - Admin settings for Organic groups module.
Code
function og_ui_field_delete_form($form, &$form_state, $instance) {
module_load_include('inc', 'field_ui', 'field_ui.admin');
$output = field_ui_field_delete_form($form, $form_state, $instance);
$output['actions']['cancel'] = array(
'#markup' => l(t('Cancel'), 'admin/config/group/fields'),
);
return $output;
}