diff options
author | David Rothstein <drothstein@gmail.com> | 2012-07-29 18:19:43 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-07-29 18:19:43 -0400 |
commit | 6d1ce3866cdd543bf7ae9a33439d37a33492d248 (patch) | |
tree | a5156b8e221b97b8e182d89325f134b7124ec04a /modules | |
parent | bada57662c3bf6f2aa1cb1cc899abc98506a4679 (diff) | |
download | brdo-6d1ce3866cdd543bf7ae9a33439d37a33492d248.tar.gz brdo-6d1ce3866cdd543bf7ae9a33439d37a33492d248.tar.bz2 |
Issue #1373312 by sun: Assign system_main() block to 'content' region and help block to 'help' region by default.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.module | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 48b2959c6..9897fb25e 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2023,6 +2023,10 @@ function system_block_info() { 'info' => t('Main page content'), // Cached elsewhere. 'cache' => DRUPAL_NO_CACHE, + // Auto-enable in 'content' region by default, which always exists. + // @see system_themes_page(), drupal_render_page() + 'status' => 1, + 'region' => 'content', ); $blocks['powered-by'] = array( 'info' => t('Powered by Drupal'), @@ -2033,6 +2037,9 @@ function system_block_info() { 'info' => t('System help'), 'weight' => '5', 'cache' => DRUPAL_NO_CACHE, + // Auto-enable in 'help' region by default, if the theme defines one. + 'status' => 1, + 'region' => 'help', ); // System-defined menu blocks. foreach (menu_list_system_menus() as $menu_name => $title) { |