Search for validator

  1. Search 7.x for validator
  2. Search 9.5.x for validator
  3. Search 8.9.x for validator
  4. Search 11.x for validator
  5. Other projects
Title Object type File name Summary
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
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 @covers ::isValid[[api-linebreak]]
@covers ::getPathAttributes[[api-linebreak]]
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 @covers ::isValid[[api-linebreak]]
@covers ::getPathAttributes[[api-linebreak]]
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 @covers ::isValid[[api-linebreak]]
@covers ::getPathAttributes[[api-linebreak]]
performance_test.cache_tags.invalidator.checksum service core/modules/system/tests/modules/performance_test/performance_test.services.yml Drupal\performance_test\Cache\CacheTagsChecksumDecorator
plugin.manager.views.argument_validator service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
PluginExistsConstraintValidator class core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php Validates the PluginExists constraint.
PluginExistsConstraintValidator.php file core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php
PluginExistsConstraintValidator::validate function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php
PluginExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php @group Plugin
@group Validation
PluginExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php
PluginExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Modules to install.
PluginExistsConstraintValidatorTest::testFallbackPluginIds function core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Tests that fallback plugin IDs can be considered valid or invalid.
PluginExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Tests validation of plugin existence.
PluginManagerDependentValidatorTrait trait core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Common functionality for many CKEditor 5 validation constraints.
PluginManagerDependentValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluginManagerDependentValidatorTrait::$pluginManager property core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php The CKEditor 5 plugin manager.
PluginManagerDependentValidatorTrait::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluginManagerDependentValidatorTrait::getEnableableDisabledPlugins function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Gets all disabled CKEditor 5 plugin definitions the user can enable.
PluginManagerDependentValidatorTrait::getOtherEnabledPlugins function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Gets all other enabled CKEditor 5 plugin definitions.
PluginManagerDependentValidatorTrait::__construct function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Constructs a CKEditor5ConstraintValidatorTrait object.
PrecedingConstraintAwareValidatorTrait trait core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php A constraint may need preceding constraints to not have been violated.
PrecedingConstraintAwareValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php
PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Gets the constraints preceding the given constraint in the current context.
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Checks whether any preceding constraints have been violated.
PrimitiveTypeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php Validates the PrimitiveType constraint.
PrimitiveTypeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
PrimitiveTypeConstraintValidatorTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator[[api-linebreak]]
@group validation
PrimitiveTypeConstraintValidatorTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
ProtectedUserFieldConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Validates the ProtectedUserFieldConstraint constraint.
ProtectedUserFieldConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidator::$currentUser property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php The current user.
ProtectedUserFieldConstraintValidator::$userStorage property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php User storage handler.
ProtectedUserFieldConstraintValidator::create function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Instantiates a new instance of this class.

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