You are here

function datex_date_field_formatter_settings_summary_alter in Datex 7.3

Same name and namespace in other branches
  1. 7.2 datex_date.inc \datex_date_field_formatter_settings_summary_alter()

Implements hook_date_field_formatter_settings_summary_alter().

File

./datex_date.inc, line 420
Provides support for date module.

Code

function datex_date_field_formatter_settings_summary_alter(&$summary, $context) {
  $summary[] = _datex_granularity_supported($context['field']['settings']['granularity']) ? t('Datex: @calendar', [
    '@calendar' => _datex_date_field_calendar($context),
  ]) : t('Datex: Disabled (Unsupported)');
}