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
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 Tests 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 Tests 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.
DateTimeNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with good data.
DateTimePlusTest::providerTestInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provider for testInvalidConstructor().
DateTimePlusTest::providerTestInvalidDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Data provider for testInvalidDateArrays.
DateTimePlusTest::providerTestInvalidDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestInvalidDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testInvalidDates.
DateTimePlusTest::testInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests invalid values passed to constructor.
DateTimePlusTest::testInvalidDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests creating dates from invalid array input.
DateTimePlusTest::testInvalidDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests date diff exception caused by invalid input.
DateTimePlusTest::testInvalidDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests invalid date handling.
DateTimePlusTest::testValidateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests the $settings['validate_format'] parameter in ::createFromFormat().
DblogFilterForm::validateForm function core/modules/dblog/src/Form/DblogFilterForm.php Form validation handler.
DbLogFormInjectionTest::validateForm function core/modules/dblog/tests/src/Kernel/DbLogFormInjectionTest.php Form validation handler.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without the proper interface.
DefaultPluginManagerTest::testCreateInstanceWithJustValidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins with the proper interface.
DefaultSelection::elementValidateFilter function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Form element validation handler; Filters the #value property of an element.
DefaultSelection::validateConfigurationForm function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Form validation handler.
DefaultSelection::validateReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates which existing entities can be referenced.
DefaultSelection::validateReferenceableNewEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates which newly created entities can be referenced.
DefaultTableMappingTest::testGetFieldColumnNameInvalid function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldColumnName() with invalid parameters.
DefaultTableMappingTest::testGetFieldTableNameInvalid function core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php Tests DefaultTableMapping::getFieldTableName() with an invalid parameter.
delay_cache_tags_invalidation.info.yml file core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.info.yml core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.info.yml
delay_cache_tags_invalidation.module file core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module Functions to test delayed cache tags invalidation.
delay_cache_tags_invalidation_entity_test_insert function core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module Implements hook_ENTITY_TYPE_insert().
delay_cache_tags_invalidation_user_insert function core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module Implements hook_ENTITY_TYPE_insert().
DeletedWorkspaceConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Checks if data still exists for a deleted workspace ID.
DeletedWorkspaceConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
DeletedWorkspaceConstraintValidator::$workspaceAssociation property core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php The workspace association service.
DeletedWorkspaceConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.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.