20 lines
438 B
Plaintext
20 lines
438 B
Plaintext
<?php
|
|
|
|
/**
|
|
* @file
|
|
* Install, update and uninstall functions for the block module.
|
|
*/
|
|
|
|
use Drupal\Core\Language\Language;
|
|
|
|
/**
|
|
* Implements hook_install().
|
|
*/
|
|
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.
|
|
module_set_weight('block', -5);
|
|
}
|