W3cubDocs

/Drupal 8

class EnforcedResponseException

Custom exception to break out of the main request and enforce a response.

Hierarchy

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.

© 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