function block_admin_display
Same name and namespace in other branches
- 6.x drupal-6.x/modules/block/block.admin.inc \block_admin_display()
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.
3 string references to 'block_admin_display'
- block_menu in drupal-7.x/
modules/ block/ block.module - Implements hook_menu().
- drupal-6.bare.database.php in drupal-7.x/
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-7.x/
modules/ simpletest/ tests/ upgrade/ drupal-6.filled.database.php - Filled installation of Drupal 6.17, for test purposes.
Archivo
- drupal-7.x/
modules/ block/ block.admin.inc, line 23 - Admin page callbacks for the block module.
Código
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);
}