You are here

function joyride_block_view in Joyride JQuery for Drupal Site Tours 7

Implements hook_block_view(). Return a rendered or renderable view of a block.

See also

http://api.drupalize.me/api/drupal/function/hook_block_view/7

File

./joyride.module, line 412

Code

function joyride_block_view($delta = '') {
  $block = array();
  switch ($delta) {
    case 'joyride_start_link':
      $block['subject'] = '<none>';
      $block['content'] = array(
        '#theme' => 'joyride_start_link',
      );
      break;
  }
  return $block;
}