You are here

function hijri_block_view in Hijri 8

Same name and namespace in other branches
  1. 7 hijri.module \hijri_block_view()

Implements hook_block_view().

File

./_hijri.module, line 18

Code

function hijri_block_view($delta = '') {

  // This example is adapted from node.module.
  $block = array();
  switch ($delta) {
    case 'hijri':
      $block['subject'] = t('Hijri Date');
      $block['content'] = _hijri_date_block();
      break;
  }
  return $block;
}