diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block/block.api.php | 2 | ||||
-rw-r--r-- | modules/system/system.api.php | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/block/block.api.php b/modules/block/block.api.php index c1f5d6145..96c04e06e 100644 --- a/modules/block/block.api.php +++ b/modules/block/block.api.php @@ -57,7 +57,7 @@ function hook_block_list() { 'info' => t('An exciting block provided by Mymodule.'), 'weight' => 0, 'status' => 1, - 'region' => 'left', + 'region' => 'sidebar_first', // BLOCK_CACHE_PER_ROLE will be assumed for block 0. ); diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 37d37ea15..cbfc78dd1 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -304,9 +304,9 @@ function hook_css_alter(&$css) { * The $page array contains top level elements for each block region: * @code * $page['header'] - * $page['left'] + * $page['sidebar_first'] * $page['content'] - * $page['right'] + * $page['sidebar_second'] * $page['footer'] * @endcode * @@ -330,8 +330,8 @@ function hook_css_alter(&$css) { * * Blocks may be referenced by their module/delta pair within a region: * @code - * // The login block in the left sidebar region. - * $page['left']['user-login']['#block']; + * // The login block in the first sidebar region. + * $page['sidebar_first']['user-login']['#block']; * @endcode * * @param $page |