Search for valid

  1. Search 7.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
NegotiationBrowserForm::validateForm function core/modules/language/src/Form/NegotiationBrowserForm.php Form validation handler.
NegotiationUrlForm::validateForm function core/modules/language/src/Form/NegotiationUrlForm.php Form validation handler.
NestedEntityTestForm::validateForm function core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php Form validation handler.
NestedFormTest::testNestedEntityFormEntityLevelValidation function core/modules/field/tests/src/Functional/NestedFormTest.php Tests entity level validation within subforms.
NodeSelection::validateReferenceableNewEntities function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Validates which newly created entities can be referenced.
NodeTypeForm::validateForm function core/modules/node/src/NodeTypeForm.php Form validation handler.
NodeValidationTest class core/modules/node/tests/src/Kernel/NodeValidationTest.php Tests node validation constraints.
NodeValidationTest.php file core/modules/node/tests/src/Kernel/NodeValidationTest.php
NodeValidationTest::$modules property core/modules/node/tests/src/Kernel/NodeValidationTest.php Modules to enable.
NodeValidationTest::setUp function core/modules/node/tests/src/Kernel/NodeValidationTest.php Set the default field storage backend for fields created during tests.
NodeValidationTest::testValidation function core/modules/node/tests/src/Kernel/NodeValidationTest.php Tests the node validation constraints.
None::validateArgument function core/modules/views/src/Plugin/views/argument_validator/None.php Performs validation for a given argument.
NotNullConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/NotNullConstraintValidator.php NotNull constraint validator.
NotNullConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/NotNullConstraintValidator.php
NotNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/NotNullConstraintValidator.php
NullBackend::invalidate function core/lib/Drupal/Core/Cache/NullBackend.php Marks a cache item as invalid.
NullBackend::invalidateAll function core/lib/Drupal/Core/Cache/NullBackend.php Marks all cache items as invalid.
NullBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/NullBackend.php Marks cache items as invalid.
NullCoalesceTest::testExceptionOnInvalidValue function core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php Tests that an exception is thrown for a non-array value.
NullIdMap::valid function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Number::validateNumber function core/lib/Drupal/Core/Render/Element/Number.php Form element validation handler for #type 'number'.
Number::validStep function core/lib/Drupal/Component/Utility/Number.php Verifies that a number is a multiple of a given step.
NumberTest::providerTestValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Provides data for self::testNumberStep().
NumberTest::providerTestValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Data provider for \Drupal\Tests\Component\Utility\NumberTest::testValidStepOffset().
NumberTest::testValidStep function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() without offset.
NumberTest::testValidStepOffset function core/tests/Drupal/Tests/Component/Utility/NumberTest.php Tests Number::validStep() with offset.
NumericArgumentValidator class core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Validate whether an argument is numeric or not.
NumericArgumentValidator.php file core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
NumericArgumentValidator::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Returns a context definition for this argument.
NumericArgumentValidator::validateArgument function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Performs validation for a given argument.
OEmbed::validateConfigurationForm function core/modules/media/src/Plugin/media/Source/OEmbed.php Form validation handler.
OEmbedForm::validateUrl function core/modules/media_library/src/Form/OEmbedForm.php Validates the oEmbed URL.
OEmbedResourceConstraint::$invalidResourceMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if the URL is not a valid oEmbed resource.
OEmbedResourceConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Validates oEmbed resource URLs.
OEmbedResourceConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::$logger property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The logger service.
OEmbedResourceConstraintValidator::$resourceFetcher property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The resource fetcher service.
OEmbedResourceConstraintValidator::$urlResolver property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The oEmbed URL resolver service.
OEmbedResourceConstraintValidator::create function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Instantiates a new instance of this class.
OEmbedResourceConstraintValidator::handleException function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Handles exceptions that occur during validation.
OEmbedResourceConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::__construct function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Constructs a new OEmbedResourceConstraintValidator.
OEmbedResourceConstraintValidatorTest class core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator
OEmbedResourceConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Modules to enable.
OEmbedResourceConstraintValidatorTest::getValue function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Wraps a media entity in an anonymous class to mock a field value.
OEmbedResourceConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::testValidateEmptySource function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OpCodeCache::invalidate function core/lib/Drupal/Component/Utility/OpCodeCache.php Invalidates a PHP file from a possibly active opcode cache.

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