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 10.3.x for validator
  5. Other projects
Title Object type File name Summary
AllowedScaffoldPackagesValidator class core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates the list of packages that are allowed to scaffold files.
AllowedScaffoldPackagesValidator.php file core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidator::validate function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates that only the implicitly allowed packages can use scaffolding.
AllowedScaffoldPackagesValidator::__construct function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidatorTest class core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php @covers \Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator[[api-linebreak]]
@group package_manager
@internal
AllowedScaffoldPackagesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php
AllowedScaffoldPackagesValidatorTest::testPreApply function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-apply.
AllowedScaffoldPackagesValidatorTest::testPreCreate function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-create.
AllowedValuesConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Validates the AllowedValues constraint.
AllowedValuesConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::$currentUser property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php The current user.
AllowedValuesConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Instantiates a new instance of this class.
AllowedValuesConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Constructs a new AllowedValuesConstraintValidator.
AllowedValuesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests AllowedValues validation constraint with both valid and invalid values.
AllowedValuesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::$typedDataManager property core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php The typed data manager to use.
AllowedValuesConstraintValidatorTest::allowedValueCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php An AllowedValueConstraint callback.
AllowedValuesConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValues validation constraint validator.
AllowedValuesConstraintValidatorTest::testValidationCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with callbacks.
AllowedValuesConstraintValidatorTest::testValidationCallbackException function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with an invalid callback.
AltTextContainsLlamasConstraintValidator class core/modules/image/tests/modules/image_field_property_constraint_validation/src/Plugin/Validation/Constraint/AltTextContainsLlamasConstraintValidator.php Validates the alt text contains llamas.
AltTextContainsLlamasConstraintValidator.php file core/modules/image/tests/modules/image_field_property_constraint_validation/src/Plugin/Validation/Constraint/AltTextContainsLlamasConstraintValidator.php
AltTextContainsLlamasConstraintValidator::validate function core/modules/image/tests/modules/image_field_property_constraint_validation/src/Plugin/Validation/Constraint/AltTextContainsLlamasConstraintValidator.php
ArgumentPluginBase::$validator property core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php The validator to use.
ArgumentPluginBase::decodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Revert sanitized validator options.
ArgumentPluginBase::encodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Sanitize validator options including derivatives with : for js.
ArgumentValidatorPluginBase class core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Base argument validator plugin to provide basic functionality.
ArgumentValidatorPluginBase.php file core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
ArgumentValidatorPluginBase::$argument property core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php The argument handler instance associated with this plugin.
ArgumentValidatorPluginBase::$option_name property core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php The option name.
ArgumentValidatorPluginBase::access function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Determines if the administrator has the privileges to use this plugin.
ArgumentValidatorPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for setting options.
ArgumentValidatorPluginBase::checkAccess function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Blocks user input when the form is shown but we don´t have access.
ArgumentValidatorPluginBase::defineOptions function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Retrieves the options when this is a new access control plugin.
ArgumentValidatorPluginBase::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Returns a context definition for this argument.
ArgumentValidatorPluginBase::processSummaryArguments function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Processes the summary arguments for displaying.
ArgumentValidatorPluginBase::setArgument function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Sets the parent argument this plugin is associated with.
ArgumentValidatorPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for submitting options.
ArgumentValidatorPluginBase::validateArgument function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Performs validation for a given argument.
ArgumentValidatorPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for validating options.
ArgumentValidatorTermNameTest class core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php Tests the plugin of the taxonomy: taxonomy_term_name argument validator.
ArgumentValidatorTermNameTest.php file core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php
ArgumentValidatorTermNameTest::$ids property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php Stores the taxonomy IDs used by this test.
ArgumentValidatorTermNameTest::$names property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php Stores the taxonomy names used by this test.
ArgumentValidatorTermNameTest::$terms property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php Stores the taxonomy term used by this test.
ArgumentValidatorTermNameTest::$testViews property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php Views to be enabled.
ArgumentValidatorTermNameTest::setUp function core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermNameTest.php

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