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
PathValidator::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidator.php
PathValidator::isValid function core/lib/Drupal/Core/Path/PathValidator.php
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
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.
PathValidatorTest::testGetUrlIfValidWithQuery function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the getUrlIfValid() method with a query in the path.
PathValidatorTest::testIsValidWithAccessDenied function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a user without access to the path.
PathValidatorTest::testIsValidWithExternalUrl function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for an external URL.
PathValidatorTest::testIsValidWithFailingParameterConverting function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a not working param converting.
PathValidatorTest::testIsValidWithFrontpage function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for the frontpage.
PathValidatorTest::testIsValidWithInvalidExternalUrl function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with an invalid external URL.
PathValidatorTest::testIsValidWithLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a 'link to any page' permission.
PathValidatorTest::testIsValidWithMethodNotAllowed function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests is valid with method not allowed.
PathValidatorTest::testIsValidWithNone function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method for <none> (used for jump links).
PathValidatorTest::testIsValidWithNotExistingPath function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a non-existent path.
PathValidatorTest::testIsValidWithoutLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method without the 'link to any page' permission.
PathValidatorTest::testIsValidWithParamNotConverted function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests is valid with param not converted.
PathValidatorTest::testIsValidWithPathAlias function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a path alias.
PathValidatorTest::testIsValidWithResourceNotFound function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests is valid with resource not found.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
PendingUpdatesValidator class core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PendingUpdatesValidator.php file core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::updatesExist function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Checks if there are any pending update or post-update hooks.
PendingUpdatesValidator::validate function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.

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