You are here

public function UnitSetStateAction::eventTypeChange in Booking and Availability Management Tools for Drupal 8

Ajax callback when change 'Event type'.

File

modules/bat_unit/src/Form/UnitSetStateAction.php, line 122
Contains \Drupal\bat_unit\Form\UnitSetStateAction.

Class

UnitSetStateAction

Namespace

Drupal\bat_unit\Form

Code

public function eventTypeChange(array $form, FormStateInterface $form_state) {
  return $form['event_state'];
}