You are here

function hijri_theme in Hijri 7

Same name and namespace in other branches
  1. 8 _hijri.module \hijri_theme()

Implements hook_theme().

File

./hijri.module, line 60
This module convert to Hijri date in nodes,comments and a block.

Code

function hijri_theme($existing, $type, $theme, $path) {
  $item = array();
  $item = array(
    'hijri_date' => array(
      'variables' => array(
        'data' => NULL,
      ),
      'template' => 'hijri-date',
      'path' => drupal_get_path('module', 'hijri') . '/theme',
    ),
  );
  return $item;
}