You are here

function imageblock_add_block_form in Image Block 7

Same name and namespace in other branches
  1. 6 imageblock.module \imageblock_add_block_form()

Form builder for the add image block form.

See also

block_add_block_form_validate()

imageblock_add_block_form_submit()

2 string references to 'imageblock_add_block_form'
imageblock_configure_form_validate in ./imageblock.module
imageblock_menu in ./imageblock.module
Implements hook_menu().

File

./imageblock.admin.inc, line 49

Code

function imageblock_add_block_form() {
  module_load_include('inc', 'block', 'block.admin');
  $form = array();
  $form = block_admin_configure($form, $form_state, 'imageblock', NULL);
  $form['#validate'][] = 'block_add_block_form_validate';
  $form['#validate'][] = 'imageblock_configure_form_validate';
  return $form;
}