You are here

function blockgroup_add_form in Block Group 7

Same name and namespace in other branches
  1. 7.2 blockgroup.admin.inc \blockgroup_add_form()

Form constructor for the add block form.

Leverage block_admin_configure from block.module to actually build the form. Customization is supplied via hook_block_configure().

See also

blockgroup_add_form_validate()

blockgroup_add_form_submit()

1 string reference to 'blockgroup_add_form'
blockgroup_menu in ./blockgroup.module
Implements hook_menu().

File

./blockgroup.admin.inc, line 17
Administrative interface for block group module.

Code

function blockgroup_add_form($form, &$form_state) {
  form_load_include($form_state, 'inc', 'block', 'block.admin');
  return block_admin_configure($form, $form_state, 'blockgroup', NULL);
}