function BigPipeTestController::trustedCallbacks

Same name in other branches
  1. 9 core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::trustedCallbacks()
  2. 8.9.x core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::trustedCallbacks()
  3. 11.x core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php \Drupal\big_pipe_test\BigPipeTestController::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php, line 219

Class

BigPipeTestController
Returns responses for Big Pipe routes.

Namespace

Drupal\big_pipe_test

Code

public static function trustedCallbacks() {
    return [
        'currentTime',
        'piggy',
        'helloOrHi',
        'exception',
        'responseException',
        'counter',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.