You are here

function easy_breadcrumb_block_view in Easy Breadcrumb 7

Same name and namespace in other branches
  1. 7.2 easy_breadcrumb.module \easy_breadcrumb_block_view()

Implements hook_block_view().

Parameters

string $delta: the identifier of the requested block.

Return value

Assoc the requested block's view.

File

./easy_breadcrumb.module, line 121
The Easy Breadcrumb module provides a block to be embedded in any page, typically at some place near the page's header. Easy Breadcrumb uses the URL (path alias) and the current page's title (when available) to obtain the breadcrumb's…

Code

function easy_breadcrumb_block_view($delta = NULL) {
  $block = array();
  switch ($delta) {
    case 'easy_breadcrumb':
      require_once 'includes/easy_breadcrumb.blocks.inc';
      $block['subject'] = NULL;
      $block['content'] = _easy_breadcrumb_block();
      break;
  }
  return $block;
}