You are here

function block_box_add in Drupal 4

Menu callback; displays the block creation form.

1 string reference to 'block_box_add'
block_menu in modules/block.module
Implementation of hook_menu().

File

modules/block.module, line 460
Controls the boxes that are displayed around the main content.

Code

function block_box_add() {
  $form = block_box_form();
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save block'),
  );
  return drupal_get_form('block_box_add', $form);
}