You are here

function environment_readonly_block_info in Environment 7

Implements hook_block_info().

File

modules/environment_readonly/environment_readonly.module, line 28
Code for the Environment Readonly module.

Code

function environment_readonly_block_info() {

  // Block that informs the site is in read only mode.
  $blocks['environment_readonly_alert'] = array(
    'info' => t('Read Only Environment Alert'),
    'cache' => DRUPAL_CACHE_GLOBAL,
  );
  return $blocks;
}