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 11.x for valid
  5. Other projects
Title Object type File name Summary
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::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::$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.
Display::validateForm function core/modules/views_ui/src/Form/Ajax/Display.php Form validation handler.
DisplayExtenderPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php Validate the options form.
DisplayExtenderTest3::validate function core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest3.php Validate that the plugin is correct and can be saved.
DisplayExtenderTest::testDisplayExtendersValidate function core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php Tests display extenders validation.
DisplayLink::validate function core/modules/views/src/Plugin/views/area/DisplayLink.php Validate that the plugin is correct and can be saved.
DisplayPathTest::doAdvancedPathsValidationTest function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests a couple of invalid path patterns.
DisplayPluginBase::validate function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Validate that the plugin is correct and can be saved.
DisplayPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Validate the options form.
DisplayPluginInterface::validate function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Make sure the display and all associated handlers are valid.
DisplayPluginInterface::validateOptionsForm function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Validates the options form.
DisplayTest::testInvalidDisplayPlugins function core/modules/views/tests/src/Functional/Plugin/DisplayTest.php Tests invalid display plugins.

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