You are here

function hosting_block_info in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 hosting.module \hosting_block_info()

Implements hook_block_info().

File

./hosting.module, line 546
Hosting module.

Code

function hosting_block_info() {
  $blocks['hosting_summary'] = array(
    'info' => t('Hosting summary'),
    'enabled' => 1,
    'status' => 1,
    'region' => 'sidebar_second',
    'weight' => 10,
  );
  $blocks['hosting_queues'] = array(
    'info' => t('Hosting queues'),
    'enabled' => 1,
    'status' => 1,
    'region' => 'sidebar_first',
    'weight' => 0,
  );
  $blocks['hosting_queues_summary'] = array(
    'info' => t('Hosting queues summary'),
    'enabled' => 1,
    'status' => 1,
    'region' => 'sidebar_first',
    'weight' => 1,
    'cache' => 'BLOCK_NO_CACHE',
  );
  $blocks['hosting_supporting_aegir'] = array(
    'info' => t('Support Aegir'),
    'enabled' => 1,
    'status' => 1,
    'region' => 'sidebar_second',
    'weight' => 1,
  );
  return $blocks;
}