function _block_custom_theme

_block_custom_theme($theme = NULL)

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.

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;
}

© 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.module/function/_block_custom_theme/7.x