function PagerTestController::create
Same name in other branches
- 9 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::create()
- 8.9.x core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::create()
- 10 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::create()
Overrides AutowireTrait::create
File
-
core/
modules/ system/ tests/ modules/ pager_test/ src/ Controller/ PagerTestController.php, line 29
Class
- PagerTestController
- Controller routine for testing the pager.
Namespace
Drupal\pager_test\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('pager.parameters'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.