public function HoldTestSubscriber::onRequest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php \Drupal\hold_test\EventSubscriber\HoldTestSubscriber::onRequest()
- 9 core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php \Drupal\hold_test\EventSubscriber\HoldTestSubscriber::onRequest()
Request hold.
File
- core/
modules/ system/ tests/ modules/ hold_test/ src/ EventSubscriber/ HoldTestSubscriber.php, line 43
Class
- HoldTestSubscriber
- Response subscriber to test hold.
Namespace
Drupal\hold_test\EventSubscriberCode
public function onRequest() {
$this
->hold(static::HOLD_REQUEST);
}