public function BaseFormEvent::setForm in Hook Event Dispatcher 8
Set the form.
Parameters
array $form: The form.
Deprecated
This is not needed, the form is passed by reference.
File
- src/
Event/ Form/ BaseFormEvent.php, line 70
Class
- BaseFormEvent
- Class BaseFormEvent.
Namespace
Drupal\hook_event_dispatcher\Event\FormCode
public function setForm(array $form) {
$this->form = $form;
}