You are here

protected function DateRecurOccurrences::fieldStorageCreate in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::fieldStorageCreate()
  2. 3.0.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::fieldStorageCreate()
  3. 3.1.x src/DateRecurOccurrences.php \Drupal\date_recur\DateRecurOccurrences::fieldStorageCreate()

Reacts to field creation.

2 calls to DateRecurOccurrences::fieldStorageCreate()
DateRecurOccurrences::onEntityTypeCreate in src/DateRecurOccurrences.php
Reacts to the creation of the entity type.
DateRecurOccurrences::onFieldStorageDefinitionCreate in src/DateRecurOccurrences.php
Reacts to the creation of a field storage definition.

File

src/DateRecurOccurrences.php, line 259

Class

DateRecurOccurrences
Manages occurrences tables and the data that populates them.

Namespace

Drupal\date_recur

Code

protected function fieldStorageCreate(FieldStorageDefinitionInterface $fieldDefinition) : void {
  $this
    ->createOccurrenceTable($fieldDefinition);
}