function system_admin_menu_block_page

7.x 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/structure/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.

Return value

The output HTML.

5 string references to 'system_admin_menu_block_page'
drupal-6.bare.database.php in drupal/modules/simpletest/tests/upgrade/drupal-6.bare.database.php
Bare installation of Drupal 6.17, for test purposes.
drupal-6.filled.database.php in drupal/modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
system_get_module_admin_tasks in drupal/modules/system/system.module
Generate a list of tasks offered by a specified module.
system_menu in drupal/modules/system/system.module
Implements hook_menu().
user_menu in drupal/modules/user/user.module
Implements hook_menu().


drupal/modules/system/, line 66
Admin page callbacks for the system module.


function system_admin_menu_block_page() {
  $item = menu_get_item();
  if ($content = system_admin_menu_block($item)) {
    $output = theme('admin_block_content', array('content' => $content));
  else {
    $output = t('You do not have any administrative items.');
  return $output;