Search for parameters

  1. Search 7.x for parameters
  2. Search 9.5.x for parameters
  3. Search 8.9.x for parameters
  4. Search 10.3.x for parameters
  5. Other projects
Title Object type File name Summary
HookOrderTest::testBothParametersHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests hook order when both parameters are passed to RelativeOrderBase.
InstallerConfigDirectoryTestBase::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectoryTestBase.php Returns the parameters that will be used when the test installs Drupal.
InstallerExistingConfigTestBase::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php Returns the parameters that will be used when the test installs Drupal.
InstallerSiteConfigProfileTest::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php Returns the parameters that will be used when the test installs Drupal.
InstallerTestBase::$parameters property core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php Additional parameters to use for installer screens.
InstallerTestBase::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php Returns the parameters that will be used when the test installs Drupal.
InstallerTranslationMultipleLanguageNonInteractiveTest::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Returns the parameters that will be used when the test installs Drupal.
InstallerTranslationMultipleLanguageTest::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php Returns the parameters that will be used when the test installs Drupal.
JsonApiSpec::getReservedQueryParameters function core/modules/jsonapi/src/JsonApiSpec.php Gets the reserved (official) JSON:API query parameters.
JsonApiSpec::RESERVED_QUERY_PARAMETERS constant core/modules/jsonapi/src/JsonApiSpec.php The reserved (official) query parameters.
LinkGeneratorTest::testGenerateParametersAsQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options via parameters.
LocalActionDefault::getRouteParameters function core/lib/Drupal/Core/Menu/LocalActionDefault.php Returns the route parameters needed to render a link for the local action.
LocalActionInterface::getRouteParameters function core/lib/Drupal/Core/Menu/LocalActionInterface.php Returns the route parameters needed to render a link for the local action.
LocaleNonInteractiveInstallTest::installParameters function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Returns the parameters that will be used when the test installs Drupal.
LocalTaskDefault::getRouteParameters function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Returns the route parameters needed to render a link for the local task.
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithNonUpcastedParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests get route parameters for dynamic route with non upcasted parameters.
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests the getRouteParameters method for a route with upcasted parameters.
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParametersEmptyRawParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests the getRouteParameters method for a route with upcasted parameters.
LocalTaskDefaultTest::testGetRouteParametersForStaticRoute function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests get route parameters for static route.
LocalTaskDefaultTest::testGetRouteParametersInPluginDefinitions function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests get route parameters in plugin definitions.
LocalTaskInterface::getRouteParameters function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Returns the route parameters needed to render a link for the local task.
MediaLibraryState::getOpenerParameters function core/modules/media_library/src/MediaLibraryState.php Returns all opener-specific parameter values.
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryStateTest::testOpenerParameters function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::getOpenerParameters[[api-linebreak]]
MenuLinkBase::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the route parameters, if available.
MenuLinkInterface::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route parameters, if available.
MenuLinkTree::getCurrentRouteMenuTreeParameters function core/lib/Drupal/Core/Menu/MenuLinkTree.php Gets the link tree parameters for rendering a specific menu.
MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Gets the link tree parameters for rendering a specific menu.
MenuTreeParameters class core/lib/Drupal/Core/Menu/MenuTreeParameters.php Provides a value object to model menu tree parameters.
MenuTreeParameters.php file core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::$activeTrail property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The IDs from the currently active menu link to the root of the whole tree.
MenuTreeParameters::$conditions property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The conditions used to restrict which links are loaded.
MenuTreeParameters::$expandedParents property core/lib/Drupal/Core/Menu/MenuTreeParameters.php An array of parent link IDs.
MenuTreeParameters::$maxDepth property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The maximum depth of menu links in the resulting tree relative to the root.
MenuTreeParameters::$minDepth property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The minimum depth of menu links in the resulting tree relative to the root.
MenuTreeParameters::$root property core/lib/Drupal/Core/Menu/MenuTreeParameters.php A menu link plugin ID that should be used as the root.
MenuTreeParameters::addCondition function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds a custom query condition.
MenuTreeParameters::addExpandedParents function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds parent menu links IDs to restrict the tree.
MenuTreeParameters::excludeRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes the root menu link from the tree.
MenuTreeParameters::onlyEnabledLinks function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes links that are not enabled.
MenuTreeParameters::serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::setActiveTrail function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets the active trail IDs used to set the inActiveTrail property.
MenuTreeParameters::setMaxDepth function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a maximum depth for menu tree loading.
MenuTreeParameters::setMinDepth function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a minimum depth for menu tree loading.
MenuTreeParameters::setRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a root for menu tree loading.
MenuTreeParameters::setTopLevelOnly function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Ensures only the top level of the tree is loaded.
MenuTreeParameters::unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParametersTest class core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests the menu link tree parameters value object.

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