function block_themes_enabled

block_themes_enabled($theme_list)

Initializes blocks for enabled themes.

Parameters

$theme_list: An array of theme names.

File

modules/block/block.module, line 628
Controls the visual building blocks a page is constructed with.

Code

function block_themes_enabled($theme_list) {
  foreach ($theme_list as $theme) {
    block_theme_initialize($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_themes_enabled/7.x