class DatetimeViewsHooks

Hook implementations for datetime.

Hierarchy

Expanded class hierarchy of DatetimeViewsHooks

File

core/modules/datetime/src/Hook/DatetimeViewsHooks.php, line 11

Namespace

Drupal\datetime\Hook
View source
class DatetimeViewsHooks {
    
    /**
     * Implements hook_field_views_data().
     */
    public function fieldViewsData(FieldStorageConfigInterface $field_storage) {
        return datetime_type_field_views_data_helper($field_storage, [], $field_storage->getMainPropertyName());
    }

}

Members

Title Sort descending Modifiers Object type Summary
DatetimeViewsHooks::fieldViewsData public function Implements hook_field_views_data().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.