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
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.
ContentTranslationSynchronizedFieldsConstraintValidator::hasSynchronizedPropertyChanges function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks whether any synchronized property has changes.
ContentTranslationSynchronizedFieldsConstraintValidator::validate function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php
ContentTranslationSynchronizedFieldsConstraintValidator::__construct function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php ContentTranslationSynchronizedFieldsConstraintValidator constructor.
ContentUninstallValidator class core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php Provides a proxy class for \Drupal\Core\Entity\ContentUninstallValidator.
ContentUninstallValidator class core/lib/Drupal/Core/Entity/ContentUninstallValidator.php Validates module uninstall readiness based on existing content entities.
ContentUninstallValidator.php file core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php
ContentUninstallValidator.php file core/lib/Drupal/Core/Entity/ContentUninstallValidator.php
ContentUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php The service container.
ContentUninstallValidator::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php The id of the original proxied service.
ContentUninstallValidator::$entityTypeManager property core/lib/Drupal/Core/Entity/ContentUninstallValidator.php The entity type manager service.
ContentUninstallValidator::$service property core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php The real proxied service, after it was lazy loaded.
ContentUninstallValidator::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php Lazy loads the real service from the container.
ContentUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php
ContentUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php Determines the reasons a module can not be uninstalled.
ContentUninstallValidator::validate function core/lib/Drupal/Core/Entity/ContentUninstallValidator.php Determines the reasons a module can not be uninstalled.

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