You are here

function getlocations_search_block_view in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_search/getlocations_search.module \getlocations_search_block_view()

Implements hook_block_view().

This hook generates the contents of the blocks themselves.

File

modules/getlocations_search/getlocations_search.module, line 1942
getlocations_search.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_search_block_view($delta = '') {
  $block = array();

  //The $delta parameter tells us which block is being requested.
  switch ($delta) {
    case 'getlocations_search_block':
      $block['subject'] = t('Getlocations search');
      $block['content'] = getlocations_search('block');
      break;
  }
  return $block;
}