You are here

function hijri_field_formatter_info_alter in Hijri 8.2

Same name and namespace in other branches
  1. 3.0.x 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 26
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';
}