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 11.x for valid
  5. Other projects
Title Object type File name Summary
MenuLinkDefaultForm::validateConfigurationForm function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Form validation handler.
MenuLinkEditForm::validateForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Form validation handler.
MenuLinkParentTest::$pathValidator property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php A Path validator prophecy.
MenuLinksTest::testMenuLinkContentFormInvalidParentMenu function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Tests that the form doesn't break for links with arbitrary menu names.
MenuSettingsConstraintValidator class core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php Constraint validator for changing the menu settings in pending revisions.
MenuSettingsConstraintValidator.php file core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuSettingsConstraintValidator::validate function core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuTreeHierarchyConstraintValidator class core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Constraint validator for changing menu link parents in pending revisions.
MenuTreeHierarchyConstraintValidator.php file core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::$entityTypeManager property core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php The entity type manager.
MenuTreeHierarchyConstraintValidator::create function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Instantiates a new instance of this class.
MenuTreeHierarchyConstraintValidator::validate function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::__construct function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Creates a new MenuTreeHierarchyConstraintValidator instance.
MenuTreeStorage::$cacheTagsInvalidator property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The cache tags invalidator.
MenuUiTest::addInvalidMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Attempts to add menu link with invalid path or no access permission.
MenuUiTest::checkInvalidParentMenuLinks function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests that parent options are limited by depth when adding menu links.
MenuValidationTest class core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php Tests validation of menu entities.
MenuValidationTest.php file core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php
MenuValidationTest::$propertiesWithOptionalValues property core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php The config entity properties whose values are optional (set to NULL).
MenuValidationTest::providerInvalidMachineNameCharacters function core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php Menu IDs are atypical: they allow dashes and disallow underscores.
MenuValidationTest::setUp function core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php
MenuValidationTest::testDescription function core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php Tests that description is optional, and limited to 512 characters.
menu_ui_form_node_type_form_validate function core/modules/menu_ui/menu_ui.module Validate handler for forms with menu options.
MergeTest::testInvalidMerge function core/tests/Drupal/KernelTests/Core/Database/MergeTest.php Tests that an invalid merge query throws an exception.
MessageForm::validateForm function core/modules/contact/src/MessageForm.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…
MigrateEntityContentValidationTest class core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Tests validation of an entity during migration.
MigrateEntityContentValidationTest.php file core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php
MigrateEntityContentValidationTest::$messages property core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Messages accumulated during the migration run.
MigrateEntityContentValidationTest::$modules property core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Modules to install.
MigrateEntityContentValidationTest::mapMessageRecorder function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Reacts to map message event.
MigrateEntityContentValidationTest::runImport function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Runs an import of a migration.
MigrateEntityContentValidationTest::setUp function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php
MigrateEntityContentValidationTest::test1 function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Tests an import with invalid data and checks error messages.
MigrateEntityContentValidationTest::test2 function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Tests an import with invalid data and checks error messages.
MigrateEntityContentValidationTest::testEntityOwnerValidation function core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php Tests validation for entities that are instances of EntityOwnerInterface.
MigrateExecutableTest::testImportWithValidRow function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a valid row.
MigrateExecutableTest::testImportWithValidRowNoDestinationValues function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a valid row.
MigrateExecutableTest::testImportWithValidRowWithDestinationMigrateException function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a thrown MigrateException.
MigrateExecutableTest::testImportWithValidRowWithException function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a regular Exception being thrown.
MigrateExecutableTest::testImportWithValidRowWithoutDestinationId function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a valid row.
MigrateExecutableTest::testImportWithValidRowWithProcesMigrateException function core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php Tests the import method with a thrown MigrateException.
MigrateImageCacheTest::testInvalidCropValues function core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php Tests that missing action's causes failures.
MigrateLookupTest::testInvalidIdLookup function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests an invalid lookup.
MigrateSqlIdMapTest::getHighestIdInvalidDataProvider function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Data provider for testGetHighestIdInvalid().
MigrateSqlIdMapTest::testGetHighestIdInvalid function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests getHighestId method with invalid data.
MigrateStubTest::testInvalidSourceIdCount function core/modules/migrate/tests/src/Kernel/MigrateStubTest.php Tests invalid source id count.
MigrateStubTest::testInvalidSourceIdKeys function core/modules/migrate/tests/src/Kernel/MigrateStubTest.php Tests invalid source ids keys.
MigrateValidatableEntityInterface interface core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php To implement by a destination plugin that should provide entity validation.
MigrateValidatableEntityInterface.php file core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php
MigrateValidatableEntityInterface::isEntityValidationRequired function core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php Returns a state of whether an entity needs to be validated before saving.

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