Search for parameters

  1. Search 7.x for parameters
  2. Search 9.5.x for parameters
  3. Search 10.3.x for parameters
  4. Search 11.x for parameters
  5. Other projects
Title Object type File name Summary
MenuTreeParametersTest::testSetMinDepth function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setMinDepth().
MenuTreeParametersTest::testSetTopLevelOnly function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setTopLevelOnly().
NodeTypeTranslationTest::installParameters function core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Install Drupal in a language other than English for this test. This is not
needed to test the node type translation itself but acts as a regression
test.
NullRouteMatch::getParameters function core/lib/Drupal/Core/Routing/NullRouteMatch.php
NullRouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/NullRouteMatch.php
OptimizedPhpArrayDumper::getParameters function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets parameters of the container as a PHP array.
OptimizedPhpArrayDumper::prepareParameters function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Prepares parameters for the PHP array dumping.
OptimizedPhpArrayDumperTest::getParametersDataProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testGetParameters().
OptimizedPhpArrayDumperTest::testGetParameters function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that parameter processing works properly.
pager.parameters service core/core.services.yml Drupal\Core\Pager\PagerParameters
PagerDeprecationTest::testGetQueryParameters function core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php @expectedDeprecation pager_get_query_parameters is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457
PagerManager::getUpdatedParameters function core/lib/Drupal/Core/Pager/PagerManager.php
PagerManagerInterface::getUpdatedParameters function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Gets the URL query parameter array of a pager link.
PagerManagerTest::testGetUpdatedParameters function core/tests/Drupal/KernelTests/Core/Pager/PagerManagerTest.php @covers ::getUpdatedParameters[[api-linebreak]]
PagerParameters class core/lib/Drupal/Core/Pager/PagerParameters.php Provides pager information contained within the current request.
PagerParameters.php file core/lib/Drupal/Core/Pager/PagerParameters.php
PagerParameters::$requestStack property core/lib/Drupal/Core/Pager/PagerParameters.php The HTTP request stack.
PagerParameters::findPage function core/lib/Drupal/Core/Pager/PagerParameters.php
PagerParameters::getPagerParameter function core/lib/Drupal/Core/Pager/PagerParameters.php
PagerParameters::getPagerQuery function core/lib/Drupal/Core/Pager/PagerParameters.php
PagerParameters::getQueryParameters function core/lib/Drupal/Core/Pager/PagerParameters.php
PagerParameters::__construct function core/lib/Drupal/Core/Pager/PagerParameters.php Construct a PagerManager object.
PagerParametersInterface interface core/lib/Drupal/Core/Pager/PagerParametersInterface.php Interface describing pager information contained within the request.
PagerParametersInterface.php file core/lib/Drupal/Core/Pager/PagerParametersInterface.php
PagerParametersInterface::findPage function core/lib/Drupal/Core/Pager/PagerParametersInterface.php Returns the current page being requested for display within a pager.
PagerParametersInterface::getPagerParameter function core/lib/Drupal/Core/Pager/PagerParametersInterface.php Gets the 'page' query parameter for the current request.
PagerParametersInterface::getPagerQuery function core/lib/Drupal/Core/Pager/PagerParametersInterface.php Gets the request query parameter.
PagerParametersInterface::getQueryParameters function core/lib/Drupal/Core/Pager/PagerParametersInterface.php Gets all request URL query parameters that are unrelated to paging.
PagerTest::testPagerQueryParametersAndCacheContext function core/modules/system/tests/src/Functional/Pager/PagerTest.php Test proper functioning of the query parameters and the pager cache context.
PagerTestController::queryParameters function core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php Returns a pager with 'parameters' variable.
pager_get_query_parameters function core/includes/pager.inc Compose a URL query parameter array for pager links.
ParamNotConvertedException::$rawParameters property core/lib/Drupal/Core/ParamConverter/ParamNotConvertedException.php The raw parameters that were not converted.
ParamNotConvertedException::getRawParameters function core/lib/Drupal/Core/ParamConverter/ParamNotConvertedException.php Get the raw parameters that were not converted.
PathPluginBaseTest::testAlterRoutesWithOptionalParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with optional parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParametersAndUpcasting function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters and upcasting information
PathPluginBaseTest::testCollectRoutesWithNamedParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with a path containing named parameters.
PhpArrayContainer::resolveServicesAndParameters function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php
RequestHandler::getLegacyParameters function core/modules/rest/src/RequestHandler.php Provides the parameter usable without an argument resolver.
RequestPagerTest::testGetQueryParameters function core/tests/Drupal/KernelTests/Core/Pager/RequestPagerTest.php @covers ::getQueryParameters[[api-linebreak]]
RouteMatch::$parameters property core/lib/Drupal/Core/Routing/RouteMatch.php A key|value store of parameters.
RouteMatch::$rawParameters property core/lib/Drupal/Core/Routing/RouteMatch.php A key|value store of raw parameters.
RouteMatch::getParameters function core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatchInterface::getParameters function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the bag of all processed route parameters.
RouteMatchInterface::getRawParameters function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the bag of all raw route parameters.
RouteMatchTestBase::testGetParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getParameters[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRawParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRawParameters[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
Routes::getResourceTypeNameFromParameters function core/modules/jsonapi/src/Routing/Routes.php Gets the resource type from a route or request's parameters.
SearchInterface::getParameters function core/modules/search/src/Plugin/SearchInterface.php Returns the current parameters set using setSearch().

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