1 layout.module layout_block_info()

Implements hook_block_info().


core/modules/layout/layout.module, line 946
The Layout module creates pages and wraps existing pages in layouts.


function layout_block_info() {
  $blocks = array();
  $blocks['custom_block'] = array(
    'info' => t('Custom block'),
    'description' => t('A basic block for adding custom text.'),
    'class' => 'BlockText',

  $blocks['hero'] = array(
    'info' => t('Hero block'),
    'description' => t('A hero block often consists of text over a background image, though either are optional.'),
    'class' => 'BlockHero',

  return $blocks;