You are here

function system_admin_menu_block_page in Drupal 5

Same name and namespace in other branches
  1. 6 modules/system/system.admin.inc \system_admin_menu_block_page()
  2. 7 modules/system/system.admin.inc \system_admin_menu_block_page()

Provide a single block from the administration menu as a page. This function is often a destination for these blocks. For example, 'admin/content/types' needs to have a destination to be valid in the Drupal menu system, but too much information there might be hidden, so we supply the contents of the block.

3 string references to 'system_admin_menu_block_page'
node_menu in modules/node/node.module
Implementation of hook_menu().
system_menu in modules/system/system.module
Implementation of hook_menu().
user_menu in modules/user/user.module
Implementation of hook_menu().

File

modules/system/system.module, line 408
Configuration system that lets administrators modify the workings of the site.

Code

function system_admin_menu_block_page() {
  $menu = menu_get_item(NULL, $_GET['q']);
  $content = system_admin_menu_block($menu);
  $output = theme('admin_block_content', $content);
  return $output;
}