You are here

function bat_event_series_install in Booking and Availability Management Tools for Drupal 8

Implements hook_install().

File

modules/bat_event_series/bat_event_series.install, line 8

Code

function bat_event_series_install() {
  $types = bat_event_get_types();
  foreach ($types as $type) {
    bat_event_series_create_event_series_field($type
      ->id());
  }
}