Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / block_info_alter.twig
1 /**
2  * Implements hook_block_info_alter().
3  */
4 function {{ machine_name }}_block_info_alter(&$blocks, $theme, $code_blocks) {
5   // Disable the login block.
6   $blocks['user']['login']['status'] = 0;
7 }