function datex_field_formatter_info_alter in Datex 7.3
Same name and namespace in other branches
- 7.2 datex_date.inc \datex_field_formatter_info_alter()
Add datex configuration to date field.
Add an extra option to control datex for each field instance display.
File
- ./
datex_date.inc, line 382 - Provides support for date module.
Code
function datex_field_formatter_info_alter(&$info) {
if (isset($info['date_default'])) {
$info['date_default']['settings']['datex_schema'] = 'default';
}
if (isset($info['date_plain'])) {
$info['date_plain']['settings']['datex_schema'] = 'default';
}
}