You are here

function datex_date_field_info_alter in Datex 7

Implements hook_field_info_alter().

File

datex_date/datex_date.module, line 197
Provides Jalali support for date module.

Code

function datex_date_field_info_alter(&$info) {
  foreach (array(
    'datetime',
    'date',
    'datestamp',
  ) as $type) {
    if (isset($info[$type]['instance_settings'])) {
      $info[$type]['instance_settings']['datex_enabled'] = 'site';
    }
  }
}