You are here

function datex_views_plugins_argument_alter in Datex 8

Implements hook_views_plugins_argument_alter().

File

./datex.module, line 212

Code

function datex_views_plugins_argument_alter(array &$plugins) {
  if (isset($plugins['datetime'])) {
    $plugins['datetime']['class'] = DatexDateDate::class;
  }
  if (isset($plugins['datetime_full_date'])) {
    $plugins['datetime_full_date']['class'] = DatexDateFullDate::class;
  }
  if (isset($plugins['date'])) {
    $plugins['date']['class'] = DatexViewsDate_Arg::class;
  }
  if (isset($plugins['date_fulldate'])) {
    $plugins['date_fulldate']['class'] = DatexViewsFullDate::class;
  }
}