function _block_custom_theme in Drupal 7
Theme callback for the block configuration pages.
Parameters
$theme: The theme whose blocks are being configured. If not set, the default theme is assumed.
Return value
The theme that should be used for the block configuration page, or NULL to indicate that the default theme should be used.
1 string reference to '_block_custom_theme'
- block_menu in modules/
block/ block.module - Implements hook_menu().
File
- modules/
block/ block.module, line 198 - Controls the visual building blocks a page is constructed with.
Code
function _block_custom_theme($theme = NULL) {
// We return exactly what was passed in, to guarantee that the page will
// always be displayed using the theme whose blocks are being configured.
return $theme;
}