Search for valid

  1. Search 7.x for valid
  2. Search 9.5.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
LinkUriTest::providerTestDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Provides test cases for LinkUriTest::testDisablingRouteValidation().
LinkUriTest::testDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests disabling route validation in LinkUri::transform().
LinkWidget::validateTitleElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.
ListFloatItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListFloatItem.php Checks whether a candidate allowed value is valid.
ListIntegerItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php #element_validate callback for options field allowed values.
ListStringItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php Checks whether a candidate allowed value is valid.
LoadTest::testLoadInvalidStatus function core/modules/file/tests/src/Kernel/LoadTest.php Try to load a non-existent file by status.
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
MachineName::validateMachineName function core/lib/Drupal/Core/Render/Element/MachineName.php Form element validation handler for machine_name elements.
MachineNameControllerTest::testMachineNameControllerWithInvalidReplacePattern function core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php Tests the pattern validation.
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.
ManagedStorageTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php Tests an invalid storage.
Media::validate function core/modules/media/src/Entity/Media.php
MediaConfigSubscriber::$cacheTagsInvalidator property core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php The cache tags invalidator.
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaEmbedFilterConfigurationUiTest::providerTestValidations function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php Data provider for testValidationWhenAdding() and
testValidationWhenEditing().
MediaEmbedFilterConfigurationUiTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_add_form_alter
@covers ::media_filter_format_edit_form_validate
@dataProvider providerTestValidations
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.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
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.
media_library_filter_format_edit_form_validate function core/modules/media_library/media_library.module Validate callback to ensure the DrupalMediaLibrary button can work correctly.
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.

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