You are here

function closeblock_menu in Close Block 7

Same name and namespace in other branches
  1. 6 closeblock.module \closeblock_menu()

Implements hook_menu().

File

./closeblock.module, line 43
Add close button to blocks.

Code

function closeblock_menu() {
  $items = array();
  $items['closeblock/%/%'] = array(
    'title' => 'Closeblock',
    'page callback' => 'closeblock_ajax_callback',
    'page arguments' => array(
      1,
      2,
    ),
    'access arguments' => array(
      'closeblock',
    ),
  );
  return $items;
}