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
LinkFieldTest::doTestURLValidation function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests link field URL validation.
LinkFormatter::$pathValidator property core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php The path validator service.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Modules to enable.
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkNotExistingInternalConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php Validates the LinkNotExistingInternal constraint.
LinkNotExistingInternalConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator
@group Link
LinkNotExistingInternalConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
LinkNotExistingInternalConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Data provider for ::testValidate.
LinkNotExistingInternalConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkTypeConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php Constraint validator for links receiving data allowed by its settings.
LinkTypeConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
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.
ListPlugin::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php
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.
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.
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.
ManagedFileTest::validateForm function core/modules/file/tests/src/Kernel/ManagedFileTest.php Form validation handler.
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
Media::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/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 testing validation when adding and editing media embeds.
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

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