block_install
- Versions
- 7
block_install()
Implements hook_install().
Code
modules/block/block.install, line 208
<?php
function block_install() {
// Block should go first so that other modules can alter its output
// during hook_page_alter(). Almost everything on the page is a block,
// so before block module runs, there will not be much to alter.
db_update('system')
->fields(array('weight' => -5))
->condition('name', 'block')
->execute();
}
?>Login or register to post comments 