Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DatetimeViewsHooks.php

class DatetimeViewsHooks

Hook implementations for datetime.

Hierarchy

  • class \Drupal\datetime\Hook\DatetimeViewsHooks

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) : array {
        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().

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal