Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Search 11.x for valid
  6. Other projects
Title Object type File name Summary
PathAliasConstraintValidator.php file core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathAliasConstraintValidator::$entityTypeManager property core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php The entity type manager.
PathAliasConstraintValidator::create function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Instantiates a new instance of this class.
PathAliasConstraintValidator::validate function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php
PathAliasConstraintValidator::__construct function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Creates a new PathAliasConstraintValidator instance.
PathBasedBreadcrumbBuilderTest::testBuildWithInvalidPath function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the build method with an invalid path.
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathPluginBase::validate function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate that the plugin is correct and can be saved.
PathPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validate the options form.
PathPluginBase::validatePath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Validates the path of the display.
PathValidator class core/lib/Drupal/Core/Path/PathValidator.php Provides a default path validator and access checker.
PathValidator.php file core/lib/Drupal/Core/Path/PathValidator.php
PathValidator::$accessAwareRouter property core/lib/Drupal/Core/Path/PathValidator.php The access aware router.
PathValidator::$accessUnawareRouter property core/lib/Drupal/Core/Path/PathValidator.php A router implementation which does not check access.
PathValidator::$account property core/lib/Drupal/Core/Path/PathValidator.php The current user.
PathValidator::$pathProcessor property core/lib/Drupal/Core/Path/PathValidator.php The path processor.
PathValidator::getPathAttributes function core/lib/Drupal/Core/Path/PathValidator.php Gets the matched attributes for a given path.
PathValidator::getUrl function core/lib/Drupal/Core/Path/PathValidator.php Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
PathValidator::getUrlIfValid function core/lib/Drupal/Core/Path/PathValidator.php Returns a URL object, if the path is valid and accessible.
PathValidator::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidator.php Returns a URL object, if the path is valid.
PathValidator::isValid function core/lib/Drupal/Core/Path/PathValidator.php Checks if the URL path is valid and accessible by the current user.
PathValidator::__construct function core/lib/Drupal/Core/Path/PathValidator.php Creates a new PathValidator.
PathValidatorInterface interface core/lib/Drupal/Core/Path/PathValidatorInterface.php Provides an interface for URL path validators.
PathValidatorInterface.php file core/lib/Drupal/Core/Path/PathValidatorInterface.php
PathValidatorInterface::getUrlIfValid function core/lib/Drupal/Core/Path/PathValidatorInterface.php Returns a URL object, if the path is valid and accessible.
PathValidatorInterface::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidatorInterface.php Returns a URL object, if the path is valid.
PathValidatorInterface::isValid function core/lib/Drupal/Core/Path/PathValidatorInterface.php Checks if the URL path is valid and accessible by the current user.
PathValidatorTest class core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php Tests the path validator.
PathValidatorTest class core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests Drupal\Core\Path\PathValidator.
PathValidatorTest.php file core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
PathValidatorTest.php file core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php
PathValidatorTest::$accessAwareRouter property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The access aware router stub.
PathValidatorTest::$accessUnawareRouter property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The access unaware router stub.
PathValidatorTest::$account property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The account stub.
PathValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php Modules to install.
PathValidatorTest::$pathProcessor property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The path processor stub.
PathValidatorTest::$pathValidator property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The tested path validator.
PathValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
PathValidatorTest::setUp function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php
PathValidatorTest::setUpMockAccessAwareRouter function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Reinitializes the access aware router as a mock object.
PathValidatorTest::setUpMockAccessUnawareRouter function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Reinitializes the access unaware router as a mock object.
PathValidatorTest::setUpMockAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Reinitializes the account as a mock object.
PathValidatorTest::setUpMockInboundPathProcessor function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Reinitializes the inbound path processor as a mock object.
PathValidatorTest::testGetUrlIfValidWithAccess function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValid() method when there is access.
PathValidatorTest::testGetUrlIfValidWithFrontPageAndQueryAndFragments function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValid() method with a front page + query + fragments.
PathValidatorTest::testGetUrlIfValidWithoutAccess function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValid() method where there is no access.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValidWithoutAccessCheck() method.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck function core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php Tests getting a Url for CLI and HTTP methods.
PathValidatorTest::testGetUrlIfValidWithoutAccessCheckWithInvalidPath function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValidWithoutAccessCheck() method with an invalid path.

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