You are here

function _datex_views_data_alter_recurse in Datex 7.2

Helper function for (hook) datex_views_data_alter.

1 call to _datex_views_data_alter_recurse()
datex_views_data_alter in ./datex.views.inc
Implements hook_views_data_alter().

File

./datex.views.inc, line 6

Code

function _datex_views_data_alter_recurse(&$data) {
  foreach ($data as $key => &$value) {
    if (is_array($value)) {
      _datex_views_data_alter_recurse($value);
    }
    elseif ($value == 'views_handler_field_date') {
      $value = 'datex_handler_field_date';
    }
  }
}