Search for match

  1. Search 7.x for match
  2. Search 9.5.x for match
  3. Search 8.9.x for match
  4. Search 10.3.x for match
  5. Other projects
Title Object type File name Summary
CurrentRouteMatchTest::testResetRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::resetRouteMatch
Date::$routeMatch property core/modules/views/src/Plugin/views/argument/Date.php The route match.
DefaultsEntityForm::getEntityFromRouteMatch function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Determines which entity will be used by this form from a RouteMatch object.
DenyAdminRoutes::$routeMatch property core/modules/dynamic_page_cache/src/PageCache/ResponsePolicy/DenyAdminRoutes.php The current route match.
DenyNoCacheRoutes::$routeMatch property core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php The current route match.
DenyNodePreview::$routeMatch property core/modules/node/src/PageCache/DenyNodePreview.php The current route match.
DenyNodePreviewTest::$routeMatch property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php The current route match.
DenyPrivateImageStyleDownload::$routeMatch property core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php The current route match.
DenyPrivateImageStyleDownloadTest::$routeMatch property core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php The current route match.
DocParser::match function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to match the given token with the current lookahead token.
If they match, updates the lookahead token; otherwise raises a syntax error.
DocParser::matchAny function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to match the current lookahead token with any of the given tokens.
Drupal::routeMatch function core/lib/Drupal.php Retrieves the currently active route match object.
Endpoint::matchUrl function core/modules/media/src/OEmbed/Endpoint.php Tries to match a URL against the endpoint schemes.
EndpointTest::testCaseSensitiveMatch function core/modules/media/tests/src/Unit/EndpointTest.php @covers ::matchUrl
EndpointTest::testMatchUrl function core/modules/media/tests/src/Unit/EndpointTest.php @covers ::matchUrl
EnsurePHPStanVersionsMatchTest class core/tests/PHPStan/tests/EnsurePHPStanVersionsMatchTest.php Tests that PHPStan versions match.
EnsurePHPStanVersionsMatchTest.php file core/tests/PHPStan/tests/EnsurePHPStanVersionsMatchTest.php
EnsurePHPStanVersionsMatchTest::testVersions function core/tests/PHPStan/tests/EnsurePHPStanVersionsMatchTest.php
EntityAccessCheckTest::createRouteMatchForObject function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Wrap any object with a route match, and return that.
EntityAutocomplete::matchEntityByTitle function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php Finds an entity from an autocomplete input without an explicit ID.
EntityAutocompleteController::$matcher property core/modules/system/src/Controller/EntityAutocompleteController.php The autocomplete matcher for entity references.
EntityAutocompleteMatcher class core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Matcher class to get autocompletion results for entity reference.
EntityAutocompleteMatcher.php file core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php
EntityAutocompleteMatcher::$selectionManager property core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php The entity reference selection handler plugin manager.
EntityAutocompleteMatcher::getMatches function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Gets matched labels based on a given search string.
EntityAutocompleteMatcher::__construct function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Constructs an EntityAutocompleteMatcher object.
EntityAutocompleteMatcherInterface interface core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php
EntityAutocompleteMatcherInterface.php file core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php
EntityAutocompleteMatcherInterface::getMatches function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php Gets matched labels based on a given search string.
EntityController::$routeMatch property core/lib/Drupal/Core/Entity/Controller/EntityController.php The route match.
EntityDisplayFormBase::getEntityFromRouteMatch function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Determines which entity will be used by this form from a RouteMatch object.
EntityForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityForm.php Determines which entity will be used by this form from a RouteMatch object.
EntityFormInterface::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityFormInterface.php Determines which entity will be used by this form from a RouteMatch object.
EntityFormTest::testGetEntityFromRouteMatchAdd function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle.
EntityFormTest::testGetEntityFromRouteMatchAddEntity function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle.
EntityFormTest::testGetEntityFromRouteMatchAddStatic function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a static bundle.
EntityFormTest::testGetEntityFromRouteMatchEditDelete function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for edit and delete forms.
EntityReferenceAutocompleteWidget::getMatchOperatorOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the options for the match operator.
EntityResourceTestBase::assertStoredEntityMatchesSentNormalization function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts that the stored entity matches the sent normalization.
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
FieldStorageConfigEditForm::getEntityFromRouteMatch function core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php Determines which entity will be used by this form from a RouteMatch object.
FileFieldPathTest::assertPathMatch function core/modules/file/tests/src/Functional/FileFieldPathTest.php Asserts that a file is uploaded to the right location.
FilterUninstallValidatorTest::testValidateNoMatchingFormats function core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @covers ::validate
FormAjaxResponseBuilder::$routeMatch property core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php The current route match.
FormAjaxResponseBuilderTest::$routeMatch property core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php
FormBase::$routeMatch property core/lib/Drupal/Core/Form/FormBase.php The route match.
FormBase::getRouteMatch function core/lib/Drupal/Core/Form/FormBase.php Gets the route match.
FormCacheTest::testSetCacheBuildIdMismatch function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache
FundamentalCompatibilityConstraintValidator::checkHtmlRestrictionsMatch function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Checks the HTML restrictions match the enabled CKEditor 5 plugins' output.
HelpBlock::$routeMatch property core/modules/help/src/Plugin/Block/HelpBlock.php The current route match.

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