Search for valid

  1. Search 7.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
MediaEmbedFilterConfigurationUiTest::testValidationWhenEditing function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_edit_form_alter
@covers ::media_filter_format_edit_form_validate
@dataProvider providerTestValidations
MediaLibraryAddFormTest::testFormStateValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the library state in the media library add form.
MediaLibraryAddFormTest::testSelectedTypeValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the selected type in the media library add form.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibrarySelectForm::viewsFormValidate function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MediaLibraryTest::testConfigurationValidation function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaLibraryTest.php Tests validation that DrupalMediaLibrary requires media_embed filter.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaSelection::validateReferenceableNewEntities function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Validates which newly created entities can be referenced.
MediaSourceBase::validateConfigurationForm function core/modules/media/src/MediaSourceBase.php Form validation handler.
MediaTestConstraintValidator class core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php Validates the MediaTestConstraint.
MediaTestConstraintValidator.php file core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTestConstraintValidator::validate function core/modules/media/tests/modules/media_test_source/src/Plugin/Validation/Constraint/MediaTestConstraintValidator.php
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
media_filter_format_edit_form_validate function core/modules/media/media.module Validate callback to ensure filter order and allowed_html are compatible.
MemoryBackend::invalidate function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks a cache item as invalid.
MemoryBackend::invalidateAll function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks all cache items as invalid.
MemoryBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks cache items as invalid.
MemoryBackend::invalidateTags function core/lib/Drupal/Core/Cache/MemoryBackend.php Marks cache items with any of the specified tags as invalid.
MemoryStorageTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php Tests an invalid storage.
MenuLinkContentForm::$pathValidator property core/modules/menu_link_content/src/Form/MenuLinkContentForm.php The path validator.
MenuLinkContentFormTest::testMenuLinkContentFormValidation function core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php Tests validation for the MenuLinkContentForm class.
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.
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.
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 enable.
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.

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