You are here

function bat_event_create_state in Booking and Availability Management Tools for Drupal 8

Parameters

array $values:

1 call to bat_event_create_state()
bat_booking_example_create_standard_event_states in modules/bat_booking/bat_booking_example/bat_booking_example.install
Creates the default event states.

File

modules/bat_event/bat_event.module, line 281
Manage Events - Events store the EventValue of a Unit over a period of time.

Code

function bat_event_create_state($values = []) {
  return State::create($values);
}