function PagerTestController::trustedCallbacks

Same name in other branches
  1. 9 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::trustedCallbacks()
  2. 10 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::trustedCallbacks()
  3. 11.x core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php, line 157

Class

PagerTestController
Controller routine for testing the pager.

Namespace

Drupal\pager_test\Controller

Code

public static function trustedCallbacks() {
    return [
        'showPagerCacheContext',
    ];
}

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