function block_admin_display
block_admin_display($theme = NULL)
Menu callback for admin/structure/block.
Parameters
$theme: The theme to display the administration page for. If not provided, defaults to the currently used theme.
File
- modules/block/block.admin.inc, line 23
- Admin page callbacks for the block module.
Code
function block_admin_display($theme = NULL) { global $theme_key; drupal_theme_initialize(); if (!isset($theme)) { // If theme is not specifically set, rehash for the current theme. $theme = $theme_key; } // Fetch and sort blocks. $blocks = block_admin_display_prepare_blocks($theme); return drupal_get_form('block_admin_display_form', $blocks, $theme); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!block!block.admin.inc/function/block_admin_display/7.x