function PagerTestController::__construct
Same name in other branches
- 9 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::__construct()
- 10 core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::__construct()
- 11.x core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php \Drupal\pager_test\Controller\PagerTestController::__construct()
Construct a new PagerTestController object.
Parameters
\Drupal\Core\Pager\PagerParametersInterface $pager_params: The pager parameters.
File
-
core/
modules/ system/ tests/ modules/ pager_test/ src/ Controller/ PagerTestController.php, line 37
Class
- PagerTestController
- Controller routine for testing the pager.
Namespace
Drupal\pager_test\ControllerCode
public function __construct(PagerParametersInterface $pager_params) {
$this->pagerParams = $pager_params;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.