FormAjaxException::getFormState
public function FormAjaxException::getFormState
public FormAjaxException::getFormState()
Gets the form state.
Return value
\Drupal\Core\Form\FormStateInterface The current state of the form.
File
- core/lib/Drupal/Core/Form/FormAjaxException.php, line 60
Class
- FormAjaxException
- Custom exception to break out of AJAX form processing.
Namespace
Drupal\Core\FormCode
public function getFormState() { return $this->formState; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormAjaxException.php/function/FormAjaxException::getFormState/8.1.x