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
MailerDsnConfigValidationTest::testMailerTransportSMTPOptionsValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerUserPasswordValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailHandlerTest::testInvalidRecipient function core/modules/contact/tests/src/Unit/MailHandlerTest.php Tests the children() method with an invalid key.
MakeUniqueEntityFieldTest::testMakeUniqueEntityFieldEntityInvalidLength function core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php Tests that invalid length option throws an exception.
MakeUniqueEntityFieldTest::testMakeUniqueEntityFieldEntityInvalidStart function core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php Tests that invalid start position throws an exception.
ManagedFile::validateManagedFile function core/modules/file/src/Element/ManagedFile.php Render API callback: Validates the managed_file element.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
ManagedStorageTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php Tests an invalid storage.
ManageFieldsFunctionalTest::testFieldNameValidation function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests validation of duplicate and disallowed field names.
ManageFieldsFunctionalTest::testInvalidUrlsAndDestinations function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests invalid field UI URLs and destinations.
ManageFieldsTest::testAllowedValuesFormValidation function core/modules/field_ui/tests/src/FunctionalJavascript/ManageFieldsTest.php Tests the form validation for allowed values field.
ManageFieldsTest::testLabelFieldFormValidation function core/modules/field_ui/tests/src/FunctionalJavascript/ManageFieldsTest.php Tests the form validation for label field.
Mapping::getDynamicallyValidKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all dynamically valid keys.
Mapping::getValidKeys function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets all keys allowed in this mapping.
MappingTest::testInvalidMappingKeyDefinition function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [false, 42, "The mapping definition at `foobar` is invalid: its `invalid` key contains a integer. It must be an array."]
[false, 10.2, "The mapping definition at `foobar` is invalid: its `invalid` key contains a double. It…
MappingTest::testInvalidRequiredKeyFlag function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [true]
[1]
["true"]
[0]
["false"]
Media::validate function core/modules/media/src/Entity/Media.php
Media::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
MediaConfigSubscriber::$cacheTagsInvalidator property core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php The cache tags invalidator.
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaEmbedFilterConfigurationUiAddTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiAddTest.php @covers ::media_form_filter_format_add_form_alter
@dataProvider providerTestValidations
MediaEmbedFilterConfigurationUiEditTest::testValidationWhenEditing function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiEditTest.php @covers ::media_form_filter_format_edit_form_alter
@dataProvider providerTestValidations
MediaEmbedFilterTestBase::providerTestValidations function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterTestBase.php Data provider for testing validation when adding and editing media embeds.
MediaLibraryAddFormTest::testFormStateValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the library state in the media library add form.
MediaLibraryAddFormTest::testSelectedTypeValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the selected type in the media library add form.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibrarySelectForm::viewsFormValidate function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaMappingsConstraint::$invalidMappingMessage property core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraint.php The error message if source is used in media mapping.
MediaMappingsConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php Validates media mappings.
MediaMappingsConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/MediaMappingsConstraintValidator.php
MediaMappingsConstraintValidatorTest class core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraintValidator
MediaMappingsConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php Modules to install.
MediaMappingsConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
MediaMappingsConstraintValidatorTest::testMediaMappingSource function core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php @covers ::validate
MediaSelection::validateReferenceableNewEntities function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Validates which newly created entities can be referenced.
MediaSourceBase::validateConfigurationForm function core/modules/media/src/MediaSourceBase.php Form validation handler.
MediaTestConstraintValidator class core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php Validates the MediaTestConstraint.
MediaTestConstraintValidator.php file core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTestConstraintValidator::validate function core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
MediaTypeValidationTest class core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Tests validation of media_type entities.
MediaTypeValidationTest.php file core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php
MediaTypeValidationTest::$modules property core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Modules to install.
MediaTypeValidationTest::setUp function core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php

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