function DatetimeViewsHooks::fieldViewsData
Implements hook_field_views_data().
File
-
core/
modules/ datetime/ src/ Hook/ DatetimeViewsHooks.php, line 16
Class
- DatetimeViewsHooks
- Hook implementations for datetime.
Namespace
Drupal\datetime\HookCode
public function fieldViewsData(FieldStorageConfigInterface $field_storage) {
return datetime_type_field_views_data_helper($field_storage, [], $field_storage->getMainPropertyName());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.