function datetime_field_views_data in Drupal 9
Same name and namespace in other branches
- 8 core/modules/datetime/datetime.views.inc \datetime_field_views_data()
Implements hook_field_views_data().
File
- core/
modules/ datetime/ datetime.views.inc, line 13 - Provides views data for the datetime module.
Code
function datetime_field_views_data(FieldStorageConfigInterface $field_storage) {
return datetime_type_field_views_data_helper($field_storage, [], $field_storage
->getMainPropertyName());
}