function FormAjaxException::getForm

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormAjaxException.php \Drupal\Core\Form\FormAjaxException::getForm()
  2. 8.9.x core/lib/Drupal/Core/Form/FormAjaxException.php \Drupal\Core\Form\FormAjaxException::getForm()
  3. 10 core/lib/Drupal/Core/Form/FormAjaxException.php \Drupal\Core\Form\FormAjaxException::getForm()

Gets the form definition.

Return value

array The form structure.

File

core/lib/Drupal/Core/Form/FormAjaxException.php, line 50

Class

FormAjaxException
Custom exception to break out of AJAX form processing.

Namespace

Drupal\Core\Form

Code

public function getForm() {
    return $this->form;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.