You are here

function block_refresh_menu in Block Refresh 7.2

Same name and namespace in other branches
  1. 5 block_refresh.module \block_refresh_menu()
  2. 6 block_refresh.module \block_refresh_menu()
  3. 7 block_refresh.module \block_refresh_menu()

Implements hook_menu().

File

./block_refresh.module, line 180

Code

function block_refresh_menu() {
  $items = array();

  // this will display the contents of a block, if it's configured with Block Refresh
  $items['block_refresh'] = array(
    'title' => 'Block refresh block content',
    'page callback' => 'block_refresh_block_content',
    'access arguments' => array(
      BLOCK_REFRESH_ACCESS_CONTENT_PERMISSION,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}