function _block_custom_theme
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
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.