You are here

function _delta_blocks_get_blocks in Delta 7.3

Returns a list of delta_blocks blocks.

3 calls to _delta_blocks_get_blocks()
delta_blocks_block_info in delta_blocks/delta_blocks.module
Implements hook_block_info().
delta_blocks_block_view in delta_blocks/delta_blocks.module
Implements hook_block_view().
delta_blocks_options in delta_blocks/delta_blocks.module
@todo

File

delta_blocks/delta_blocks.module, line 393
Exposes a number of core Drupal elements as blocks.

Code

function _delta_blocks_get_blocks() {
  return array(
    'logo' => array(
      'title' => t('Logo'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
    'site-name' => array(
      'title' => t('Site name'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
    'site-slogan' => array(
      'title' => t('Site slogan'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
    'branding' => array(
      'title' => t('Branding'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
    'page-title' => array(
      'title' => t('Page title'),
      'cache' => DRUPAL_CACHE_PER_PAGE,
    ),
    'breadcrumb' => array(
      'title' => t('Breadcrumb'),
      'cache' => DRUPAL_CACHE_PER_PAGE,
    ),
    'tabs' => array(
      'title' => t('Tabs'),
      'cache' => DRUPAL_CACHE_PER_PAGE,
    ),
    'messages' => array(
      'title' => t('Messages'),
      'cache' => DRUPAL_NO_CACHE,
    ),
    'action-links' => array(
      'title' => t('Action links'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
    'feed-icons' => array(
      'title' => t('Feed icons'),
      'cache' => DRUPAL_CACHE_GLOBAL,
    ),
  );
}