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
TaxonomyTermHierarchyConstraintValidator::__construct function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Creates a new TaxonomyTermHierarchyConstraintValidator instance.
TermForm::validateForm function core/modules/taxonomy/src/TermForm.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…
TermHierarchyValidationTest class core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php Tests handling of pending revisions.
TermHierarchyValidationTest.php file core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php
TermHierarchyValidationTest::$modules property core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php Modules to install.
TermHierarchyValidationTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php
TermHierarchyValidationTest::testTermHierarchyValidation function core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php Tests the term hierarchy validation with re-parenting in pending revisions.
TermName::validateArgument function core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php Performs validation for a given argument.
TermSelection::validateReferenceableNewEntities function core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php Validates which newly created entities can be referenced.
TermValidationTest class core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php Tests term validation constraints.
TermValidationTest.php file core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php
TermValidationTest::$modules property core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php Modules to install.
TermValidationTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php
TermValidationTest::testValidation function core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php Tests the term validation constraints.
TestClass::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form validation handler.
TestContextAwareNoValidContextOptionsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Provides a context-aware block that uses a not-passed, non-required context.
TestContextAwareNoValidContextOptionsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php
TestContextAwareNoValidContextOptionsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Builds and returns the renderable array for this block plugin.
TestDiskSpaceValidator class core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php A test version of the disk space validator to bypass system-level functions.
TestDiskSpaceValidator::$freeSpace property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php The amount of free space, keyed by path.
TestDiskSpaceValidator::$sharedDisk property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Whether the root and vendor directories are on the same logical disk.
TestDiskSpaceValidator::freeSpace function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestDiskSpaceValidator::stat function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestDiskSpaceValidator::temporaryDirectory function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestFieldConstraint::validatedBy function core/modules/field/tests/modules/field_test/src/Plugin/Validation/Constraint/TestFieldConstraint.php
TestFieldWidgetMultiple::multipleValidate function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Element validation helper.
TestForm::validateForm function core/modules/block/tests/modules/block_test/src/Form/TestForm.php Form validation handler.
TestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Form validation handler.
TestFormApiFormBlock::validateForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form validation handler.
TestLibraryDiscoveryParser::$validUris property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The valid URIs.
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestPluginForm::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Form validation handler.
TestPluginWithForm::validateConfigurationForm function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php
TestRunResultsStorageInterface::validateTestingResultsEnvironment function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Checks if the test run storage is valid.
TestSandboxDatabaseUpdatesValidator class core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Allows tests to dictate which extensions have staged database updates.
TestSandboxDatabaseUpdatesValidator.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php
TestSandboxDatabaseUpdatesValidator::$state property core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php The state service.
TestSandboxDatabaseUpdatesValidator::hasStagedUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php
TestSandboxDatabaseUpdatesValidator::setExtensionsWithUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the names of the extensions which should have staged database updates.
TestSandboxDatabaseUpdatesValidator::setState function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the state service dependency.
TestSessionHandlerProxy::validateId function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php
TestSettingsValidationBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Provides a test settings validation block.
TestSettingsValidationBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockValidate function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Builds and returns the renderable array for this block plugin.
TestSiteApplicationTest::testTearDownDbPrefixValidation function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing[[api-linebreak]]
TestToolkit::isValid function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Checks if the image is valid.
TestToolkit::validateConfigurationForm function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Form validation handler.

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