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
ContactFormValidationTest class core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Tests validation of contact_form entities.
ContactFormValidationTest.php file core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
ContactFormValidationTest::$modules property core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Modules to install.
ContactFormValidationTest::setUp function core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
ContactFormValidationTest::testMessageValidation function core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Tests validation of message.
ContainerRebuildWebTest::testContainerInvalidation function core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Tests container invalidation.
ContainerTest::testResolveServicesAndParametersForInvalidArgument function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that an invalid argument throw an Exception.
ContainerTest::testResolveServicesAndParametersForInvalidArguments function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that invalid arguments throw an Exception.
ContentDispositionFilenameParserTest::invalidHeaderProvider function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php A data provider for invalid headers.
ContentDispositionFilenameParserTest::testParseFilenameInvalid function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
@dataProvider invalidHeaderProvider
ContentEntityBase::$validated property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation was performed.
ContentEntityBase::$validationRequired property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation is required before saving the entity.
ContentEntityBase::isValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::setValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::validate function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testRequiredValidation function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests required validation.
ContentEntityBaseUnitTest::testValidate function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::validate
ContentEntityConfirmFormBase::validateForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ContentEntityForm::validateForm function core/lib/Drupal/Core/Entity/ContentEntityForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ContentEntityFormFieldValidationFilteringTest class core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Tests field validation filtering on content entity forms.
ContentEntityFormFieldValidationFilteringTest.php file core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormFieldValidationFilteringTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The theme to install as the default for testing.
ContentEntityFormFieldValidationFilteringTest::$entityTypeId property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The ID of the type of the entity under test.
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The name of the file field being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameMultiple property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The multi-valued field name being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameSingle property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The single-valued field name being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$modules property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Modules to install.
ContentEntityFormFieldValidationFilteringTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormFieldValidationFilteringTest::testFieldWidgetsWithLimitedValidationErrors function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Tests field widgets with #limit_validation_errors.
ContentEntityFormInterface::validateForm function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Note that extending classes should not override this method to add entity
validation logic, but define further validation constraints using the
entity validation API and/or provide a new validation constraint if
necessary. This is the only way to…
ContentImportTest::testEntityValidationIsTriggered function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests that the importer validates entities before saving them.
ContentLanguageSettings::getAllValidDefaultLangcodes function core/modules/language/src/Entity/ContentLanguageSettings.php Returns all valid values for the `default_langcode` property.
ContentLanguageSettingsValidationTest class core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Tests validation of content_language_settings entities.
ContentLanguageSettingsValidationTest.php file core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php
ContentLanguageSettingsValidationTest::$hasLabel property core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Whether a config entity of this type has a label.
ContentLanguageSettingsValidationTest::$modules property core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Modules to install.
ContentLanguageSettingsValidationTest::setUp function core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php
ContentLanguageSettingsValidationTest::testImmutableProperties function core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Tests that immutable properties cannot be changed.
ContentLanguageSettingsValidationTest::testTargetBundleMustExist function core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Tests that the target bundle of the language content settings is checked.
ContentTranslationFieldSyncRevisionTest::testFieldSynchronizationAndValidation function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php Checks that field synchronization works as expected with revisions.
ContentTranslationHandler::entityFormValidate function core/modules/content_translation/src/ContentTranslationHandler.php Form validation handler for ContentTranslationHandler::entityFormAlter().
ContentTranslationSynchronizedFieldsConstraintValidator class core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks that synchronized fields are handled correctly in pending revisions.
ContentTranslationSynchronizedFieldsConstraintValidator.php file core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentTranslationSynchronizedFieldsConstraintValidator::$contentTranslationManager property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The content translation manager.
ContentTranslationSynchronizedFieldsConstraintValidator::$entityTypeManager property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The entity type manager.
ContentTranslationSynchronizedFieldsConstraintValidator::$synchronizer property core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php The field translation synchronizer.
ContentTranslationSynchronizedFieldsConstraintValidator::create function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Instantiates a new instance of this class.
ContentTranslationSynchronizedFieldsConstraintValidator::getOriginalEntity function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the original unchanged entity to be used to detect changes.
ContentTranslationSynchronizedFieldsConstraintValidator::getOriginalTranslation function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the original translation.
ContentTranslationSynchronizedFieldsConstraintValidator::getSynchronizedPropertiesByField function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Returns the synchronized properties for every specified field.

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