block_theme_initialize($theme)
Assigns an initial, default set of blocks for a theme.
This function is called the first time a new theme is installed. The new theme gets a copy of the default theme's blocks, with the difference that if a particular region isn't available in the new theme, the block is assigned to the new theme's default region.
Parameters
$theme: The name of a theme.
File
core/modules/block/block.module, line 110 Controls the visual building blocks a page is constructed with.