Is there a way in which from my .module file I can assign a block in a specific region from Dashboard?
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
|
It can be done in a simple way by mentioning a region key to the $blocks array in the HOOK_block_info(). Follow the code for reference,
|
|||
|
|
|
In .install file you can add following sql (change the appropriate values)
|
|||
|
|
|
yes. see hook_block_info for region |
|||
|
|
