class EnforcedResponseException
Custom exception to break out of the main request and enforce a response.
Hierarchy
- class \Drupal\Core\Form\EnforcedResponseException extends \Exception
File
- core/lib/Drupal/Core/Form/EnforcedResponseException.php, line 10
Namespace
Drupal\Core\FormMembers
Name | Modifiers | Type | Description |
---|---|---|---|
EnforcedResponseException::$response | protected | property | The response to be enforced. |
EnforcedResponseException::getResponse | public | function | Return the response to be enforced. |
EnforcedResponseException::__construct | public | function | Constructs a new enforced response exception. |
© 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!EnforcedResponseException.php/class/EnforcedResponseException/8.1.x