Fix for Test

  1. function block_menu() {
  2.   $items['admin/build/block'] = array(
  3.     'title' => 'Blocks',
  4.     'description' => 'Configure what block content appears in your site\'s sidebars and other regions.',
  5.     'page callback' => 'block_admin_display',
  6.     'access arguments' => array('administer blocks'),
  7.     'file' => 'block.admin.inc',
  8.   );
  9.   $items['admin/build/block/list'] = array(
  10.     'title' => 'List',
  11.     'type' => MENU_DEFAULT_LOCAL_TASK,
  12.     'weight' => -10,
  13.   );
  14.   $items['admin/build/block/list/js'] = array(
  15.     'title' => 'JavaScript List Form',
  16.     'page callback' => 'block_admin_display_js',
  17.     'access arguments' => array('administer blocks'),
  18.     'type' => MENU_CALLBACK,
  19.     'file' => 'block.admin.inc',
  20.   );
  21.   $items['admin/build/block/configure'] = array(
  22.     'title' => 'Configure block',
  23.     'page callback' => 'drupal_get_form',
  24.     'page arguments' => array('block_admin_configure'),
  25.     'access arguments' => array('administer blocks'),
  26.     'type' => MENU_CALLBACK,
  27.     'file' => 'block.admin.inc',
  28.   );

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.