You are here

function styleguide_block_view in Style Guide 7

Implements hook_block_view().

File

./styleguide.module, line 716

Code

function styleguide_block_view($delta = '') {
  $block = array();
  switch ($delta) {
    case 'styleguide':
      global $theme_info;
      $block['subject'] = t('Block styles for %theme', array(
        '%theme' => $theme_info->name,
      ));
      $block['content'] = styleguide_page($theme_info->name);
      break;
  }
  return $block;
}