You are here

public function RegistrantsElementUtility::__construct in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::__construct()
  2. 3.x src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::__construct()

RegistrantsElementUtility constructor.

Parameters

array $element: The form array of the registrants element.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

File

src/RegistrantsElementUtility.php, line 30

Class

RegistrantsElementUtility

Namespace

Drupal\rng

Code

public function __construct(array &$element, FormStateInterface &$form_state) {
  $this->element = $element;
  $this->formState = $form_state;
}