public function EventSeriesUpdateConfirmForm::buildForm in Booking and Availability Management Tools for Drupal 8
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfirmFormBase::buildForm
File
- modules/
bat_event_series/ src/ Entity/ Form/ EventSeriesUpdateConfirmForm.php, line 83 - Contains \Drupal\bat_event_series\Entity\Form\EventSeriesUpdateConfirmForm.
Class
Namespace
Drupal\bat_event_series\Entity\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $bat_event_series = NULL) {
$this->bat_event_series = $this->tempStoreFactory
->get('event_series_update_confirm')
->get($this
->currentUser()
->id());
$form = parent::buildForm($form, $form_state);
return $form;
}