You are here

public function DateRecurOccurrenceHandlerInterface::viewsData in Recurring Dates Field 8

Modify field views data to include occurrences.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition: The field definition.

array $data:

Return value

array The views data.

1 method overrides DateRecurOccurrenceHandlerInterface::viewsData()
DefaultDateRecurOccurrenceHandler::viewsData in src/Plugin/DateRecurOccurrenceHandler/DefaultDateRecurOccurrenceHandler.php
Modify field views data to include occurrences.

File

src/Plugin/DateRecurOccurrenceHandlerInterface.php, line 129

Class

DateRecurOccurrenceHandlerInterface
Defines an interface for Date recur occurrence handler plugins.

Namespace

Drupal\date_recur\Plugin

Code

public function viewsData(FieldStorageDefinitionInterface $fieldDefinition, $data);