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\Form
Members
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. |
Please login to continue.