You are here

function date_recur_field_views_data in Recurring Dates Field 3.1.x

Same name and namespace in other branches
  1. 8.2 date_recur.module \date_recur_field_views_data()
  2. 8 date_recur.views.inc \date_recur_field_views_data()
  3. 3.x date_recur.module \date_recur_field_views_data()
  4. 3.0.x date_recur.module \date_recur_field_views_data()

Implements hook_field_views_data().

File

./date_recur.module, line 36

Code

function date_recur_field_views_data(FieldStorageConfigInterface $fieldDefinition) : array {

  /** @var \Drupal\date_recur\DateRecurViewsHooks $viewsHooks */
  $viewsHooks = \Drupal::classResolver(DateRecurViewsHooks::class);
  return $viewsHooks
    ->fieldViewsData($fieldDefinition);
}