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
LoadTest::testLoadInvalidStatus function core/modules/file/tests/src/Kernel/LoadTest.php Try to load a non-existent file by status.
LocaleImportFunctionalTest::getInvalidEncodedPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with invalid encoding.
LocaleSettingsForm::validateForm function core/modules/locale/src/Form/LocaleSettingsForm.php Form validation handler.
LocaleTranslationCacheTag::$cacheTagsInvalidator property core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php The cache tags invalidator.
LocaleTranslationUiTest::testStringValidation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests the validation of the translation input.
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
LockFileValidator class core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
LockFileValidator.php file core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidator::$keyValue property core/modules/package_manager/src/Validator/LockFileValidator.php The key-value store.
LockFileValidator::deleteHash function core/modules/package_manager/src/Validator/LockFileValidator.php Deletes the stored lock file hash.
LockFileValidator::getHash function core/modules/package_manager/src/Validator/LockFileValidator.php Returns the XXH64 hash of a file.
LockFileValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidator::KEY constant core/modules/package_manager/src/Validator/LockFileValidator.php The key under which to store the hash of the active lock file.
LockFileValidator::storeHash function core/modules/package_manager/src/Validator/LockFileValidator.php Stores the XXH64 hash of the active lock file.
LockFileValidator::validate function core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
LockFileValidator::__construct function core/modules/package_manager/src/Validator/LockFileValidator.php
LockFileValidatorTest class core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php @coversDefaultClass \Drupal\package_manager\Validator\LockFileValidator
@group package_manager
@internal
LockFileValidatorTest.php file core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
LockFileValidatorTest::$activeDir property core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php The path of the active directory in the test project.
LockFileValidatorTest::providerValidateStageEvents function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Data provider for test methods that validate the stage directory.
LockFileValidatorTest::register function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Registers test-specific services.
LockFileValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
LockFileValidatorTest::testApplyWithNoChange function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the staged and active lock files are identical.
LockFileValidatorTest::testCreateWithLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if an active lock file exists, a stage can be created.
LockFileValidatorTest::testCreateWithNoLock function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests that if no active lock file exists, a stage cannot be created.
LockFileValidatorTest::testLockFileChanged function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the lock file has changed.
LockFileValidatorTest::testLockFileDeleted function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests validation when the lock file is deleted.
LockFileValidatorTest::testNoStoredHash function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests exception when a stored hash of the active lock file is unavailable.
LockFileValidatorTest::testStatusCheckAvailableStage function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests StatusCheckEvent when the stage is available.
MachineName::validateMachineName function core/lib/Drupal/Core/Render/Element/MachineName.php Form element validation handler for machine_name elements.
MachineNameTest::testInvalidConfiguration function core/modules/migrate/tests/src/Unit/process/MachineNameTest.php Tests that the replacement regular expression is a string.
MachineNameTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php Form validation handler.
MailerDsnConfigValidationTest class core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php Tests validation of mailer dsn config.
MailerDsnConfigValidationTest.php file core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::$configManager property core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php Config manager service.
MailerDsnConfigValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php Modules to install.
MailerDsnConfigValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerHostValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerPortValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerSchemeValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerTransportDefaultOptionsValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerTransportNativeOptionsValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerTransportNullOptionsValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
MailerDsnConfigValidationTest::testMailerTransportSendmailOptionsValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php
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.

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