You are here

public function HoldTestSubscriber::onRespond in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php \Drupal\hold_test\EventSubscriber\HoldTestSubscriber::onRespond()

Response 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\EventSubscriber

Code

public function onRespond() {
  $this
    ->hold(static::HOLD_RESPONSE);
}