Search for valid

  1. Search 7.x for valid
  2. Search 9.5.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
ContextualValidatorInterface::validate function core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php Validates a value against a constraint or a list of constraints.
ControllerResolverTest::testCreateControllerInvalidName function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests createController() with an invalid name.
Convert::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Convert.php Validates the arguments.
CountConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CreateNew::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/CreateNew.php Validates the arguments.
CredentialForm::validateForm function core/modules/migrate_drupal_ui/src/Form/CredentialForm.php Form validation handler.
CredentialForm::validatePaths function core/modules/migrate_drupal_ui/src/Form/CredentialForm.php The #element_validate handler for the source path elements.
Crop::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Crop.php Validates the arguments.
CryptTest::providerTestHmacBase64Invalid function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHmacBase64().
CryptTest::testHmacBase64Invalid function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests the hmacBase64 method with invalid parameters.
CsrfAccessCheckTest::testCsrfTokenInvalid function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @covers ::access
CsrfTokenGenerator::validate function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Validates a token based on $value, the user session, and the private key.
CsrfTokenGeneratorTest::providerTestInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testInvalidParameterTypes.
CsrfTokenGeneratorTest::providerTestValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testValidateParameterTypes.
CsrfTokenGeneratorTest::testInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with invalid parameter types.
CsrfTokenGeneratorTest::testValidate function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate().
CsrfTokenGeneratorTest::testValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with different parameter types.
CssCollectionRendererUnitTest::testRenderInvalidType function core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php Tests a CSS asset group with the invalid 'type' => 'internal'.
DatabaseBackend::invalidate function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks a cache item as invalid.
DatabaseBackend::invalidateAll function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks all cache items as invalid.
DatabaseBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks cache items as invalid.
DatabaseBackendTagTest::testTagInvalidations function core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DatabaseCacheTagsChecksum::doInvalidateTags function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Marks cache items with any of the specified tags as invalid.
DatabaseCacheTagsChecksum::getTagInvalidationCounts function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Fetches invalidation counts for cache tags.
DataFieldRow::validateAliasName function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Form element validation handler for \Drupal\rest\Plugin\views\row\DataFieldRow::buildOptionsForm().
DataFieldRow::validateOptionsForm function core/modules/rest/src/Plugin/views/row/DataFieldRow.php Validate the options form.
Date::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/Date.php Determines if the given grouped filter entry has a valid value.
Date::validateExposed function core/modules/views/src/Plugin/views/filter/Date.php Validate the exposed handler form
Date::validateOptionsForm function core/modules/views/src/Plugin/views/filter/Date.php Simple validate handler
Date::validateValidTime function core/modules/views/src/Plugin/views/filter/Date.php Validate that the time values convert to something usable.
DateFormat::getCacheTagsToInvalidate function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Returns the cache tags that should be used to invalidate caches.
DateFormatFormBase::validateForm function core/modules/system/src/Form/DateFormatFormBase.php Form validation handler.
Datelist::validateDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validation callback for a datelist element.
DateRangeFieldItemList::defaultValuesFormValidate function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeFieldItemList.php Validates the submitted default value.
DateRangeFieldTest::testInvalidField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Test that invalid values are caught and marked as invalid.
DateRangeWidgetBase::validateStartEnd function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php #element_validate callback to ensure that the start date <= the end date.
Datetime::validateDatetime function core/lib/Drupal/Core/Datetime/Element/Datetime.php Validation callback for a datetime element.
DatetimeElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Form validation handler.
DateTimeFieldItemList::defaultValuesFormValidate function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Validates the submitted default value.
DateTimeFieldTest::testInvalidField function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Test that invalid values are caught and marked as invalid.
DateTimeFormatConstraintValidator class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php Constraint validator for DateTime items to ensure the format is correct.
DateTimeFormatConstraintValidator.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormatConstraintValidator::validate function core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormInjectionTest::validateForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form validation handler.
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with good data.
DateTimeItemTest::dateonlyValidationProvider function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Provider for testDatetimeValidation().
DateTimeItemTest::datetimeValidationProvider function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Provider for testDatetimeValidation().
DateTimeItemTest::testDateonlyValidation function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests the constraint validations for fields with date only.
DateTimeItemTest::testDatetimeValidation function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests the constraint validations for fields with date and time.

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