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
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.
DbLogTest::testInvalidPlaceholders function core/modules/dblog/tests/src/Kernel/DbLogTest.php Tests that only valid placeholders are stored in the variables column.
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::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.
DefaultSelection::validateTargetBundles function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates a target_bundles element.
DefaultSelection::validateTargetBundlesUpdate function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Validates a target_bundles_update element.
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
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::$state property core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php The state service.
DeletedWorkspaceConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Instantiates a new instance of this class.
DeletedWorkspaceConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
DeletedWorkspaceConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Creates a new DeletedWorkspaceConstraintValidator instance.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithInvalidClassedDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php @covers ::getDeriverClass
DerivativeDiscoveryDecoratorTest::testInvalidDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with an invalid class.
DiskSpaceValidator class core/modules/package_manager/src/Validator/DiskSpaceValidator.php Validates that there is enough free disk space to do stage operations.
DiskSpaceValidator.php file core/modules/package_manager/src/Validator/DiskSpaceValidator.php
DiskSpaceValidator::areSameLogicalDisk function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Checks if two paths are located on the same logical disk.
DiskSpaceValidator::freeSpace function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Wrapper around the disk_free_space() function.
DiskSpaceValidator::stat function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Wrapper around the stat() function.
DiskSpaceValidator::temporaryDirectory function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Returns the path of the system temporary directory.
DiskSpaceValidator::validate function core/modules/package_manager/src/Validator/DiskSpaceValidator.php Validates that there is enough free disk space to do stage operations.

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