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. Other projects
Title Object type File name Summary
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.
NodeTypeValidationTest class core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests validation of node_type entities.
NodeTypeValidationTest.php file core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php
NodeTypeValidationTest::$modules property core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Modules to install.
NodeTypeValidationTest::$propertiesWithOptionalValues property core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php The config entity properties whose values are optional (set to NULL).
NodeTypeValidationTest::setUp function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php
NodeTypeValidationTest::testDescriptionAndHelpCannotBeEmpty function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that description and help text can be NULL, but not empty strings.
NodeTypeValidationTest::testPreviewModeValidation function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that a node type's preview mode is constrained to certain values.
NodeTypeValidationTest::testThirdPartySettingsMenuUi function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php @testWith [true, {"third_party_settings.menu_ui": "'parent' is a required key."}]
[false, {}]
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 install.
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.
NumericItemBase::validateMinAndMaxConfig function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php Validates that the minimum value is less than the maximum.
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

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