You are here

function block_themes_enabled in Drupal 7

Initializes blocks for enabled themes.

Parameters

$theme_list: An array of theme names.

File

modules/block/block.module, line 623
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);
  }
}