You are here

function hijri_field_formatter_info_alter in Hijri 3.0.x

Same name and namespace in other branches
  1. 8.2 hijri.module \hijri_field_formatter_info_alter()
  2. 1.0.x hijri.module \hijri_field_formatter_info_alter()

Implements hook_field_formatter_info_alter().

File

./hijri.module, line 30
This module provides Hijri Date integration with Drupal core date field and with other Drupal contributions such as Views and Date.

Code

function hijri_field_formatter_info_alter(&$info) {
  $info['string']['field_types'][] = 'hijri';
}