You are here

function date_views_views_fetch_fields in Date 7

Same name and namespace in other branches
  1. 8 date_views/date_views.module \date_views_views_fetch_fields()
  2. 7.3 date_views/date_views.module \date_views_views_fetch_fields()
  3. 7.2 date_views/date_views.module \date_views_views_fetch_fields()

Wrapper function to make sure this function will always work.

1 call to date_views_views_fetch_fields()
_date_views_fields in date_views/includes/date_views_fields.inc
Identify all potential date/timestamp fields.

File

date_views/date_views.module, line 33

Code

function date_views_views_fetch_fields($base, $type) {
  if (!module_exists('views')) {
    return array();
  }
  module_load_include('inc', 'views', 'includes/admin');
  return views_fetch_fields($base, $type);
}