public function RegistrantsElementUtility::__construct in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/RegistrantsElementUtility.php \Drupal\rng\RegistrantsElementUtility::__construct()
- 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
Namespace
Drupal\rngCode
public function __construct(array &$element, FormStateInterface &$form_state) {
$this->element = $element;
$this->formState = $form_state;
}