function date_recur_field_views_data in Recurring Dates Field 8
Same name and namespace in other branches
- 8.2 date_recur.module \date_recur_field_views_data()
- 3.x date_recur.module \date_recur_field_views_data()
- 3.0.x date_recur.module \date_recur_field_views_data()
- 3.1.x date_recur.module \date_recur_field_views_data()
Implements hook_field_views_data().
File
- ./
date_recur.views.inc, line 13 - Provides views data for the date_recur module.
Code
function date_recur_field_views_data(FieldStorageConfigInterface $field_storage) {
module_load_include('inc', 'datetime', 'datetime.views');
$data = datetime_field_views_data($field_storage);
$plugin = date_recur_create_occurrence_handler($field_storage);
return $plugin
->viewsData($field_storage, $data);
}