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
LayoutBuilderFormModeTest::testDiscardValidation function core/modules/layout_builder/tests/src/Functional/LayoutBuilderFormModeTest.php Tests that the 'Discard changes' button skips validation and ignores input.
LayoutDefault::validateConfigurationForm function core/lib/Drupal/Core/Layout/LayoutDefault.php Form validation handler.
LayoutSectionStorageParamConverterTest::testConvertInvalidConverter function core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php @covers ::convert
LayoutTempstoreRepositoryTest::testGetInvalidEntry function core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php @covers ::get
LayoutTestPlugin::validateConfigurationForm function core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php Form validation handler.
layout_builder.extra_fields.invalidator service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Cache\ExtraFieldBlockCacheTagInvalidator
LazyContextRepositoryTest::testInvalidContextId function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts
LegacyValidateTest class core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests the file_validate() function.
LegacyValidateTest.php file core/modules/file/tests/src/Kernel/LegacyValidateTest.php
LegacyValidateTest::testCallerValidation function core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests that the validators passed into are checked.
LegacyValidateTest::testInsecureExtensions function core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests hard-coded security check in file_validate().
LegacyValidatorTest class core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the functions used to validate uploaded files.
LegacyValidatorTest.php file core/modules/file/tests/src/Kernel/LegacyValidatorTest.php
LegacyValidatorTest::$image property core/modules/file/tests/src/Kernel/LegacyValidatorTest.php An image file.
LegacyValidatorTest::$nonImage property core/modules/file/tests/src/Kernel/LegacyValidatorTest.php A file which is not an image.
LegacyValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Data provider for ::testFileValidateExtensionsOnUri.
LegacyValidatorTest::setUp function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php
LegacyValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateImageResolution function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures the dimensions of a specific file is within bounds.
LegacyValidatorTest::testFileValidateIsImage function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This ensures a specific file is actually an image.
LegacyValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This will ensure the filename length is valid.
LegacyValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests file_validate_size().
LengthConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php @todo Add method return type declaration.
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubsetInvalidInput function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @covers ::getMinimalRepresentativeSubset
LibraryDiscoveryParser::isValidUri function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Determines if the supplied string is a valid URI.
LibraryDiscoveryParser::validateCssLibrary function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Validates CSS library structure.
LibraryDiscoveryParserTest::testInvalidLibrariesFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when a libraries file couldn't be parsed.
LibraryDiscoveryTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php The cache tags invalidator.
LinkAccessConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Validates the LinkAccess constraint.
LinkAccessConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::$current_user property core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
LinkAccessConstraintValidator::create function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Instantiates a new instance of this class.
LinkAccessConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
LinkAccessConstraintValidator::__construct function core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Constructs an instance of the LinkAccessConstraintValidator class.
LinkAccessConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the LinkAccessConstraintValidator validator.
LinkAccessConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php
LinkAccessConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Data provider for LinkAccessConstraintValidator::validate().
LinkAccessConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php Tests the access validation constraint for links.
LinkCollection::validKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Ensures that a link key is valid.
LinkExternalProtocolsConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php Validates the LinkExternalProtocols constraint.
LinkExternalProtocolsConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php
LinkExternalProtocolsConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
LinkExternalProtocolsConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator
@group Link
LinkExternalProtocolsConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php
LinkExternalProtocolsConstraintValidatorTest::providerValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php Data provider for ::testValidate.
LinkExternalProtocolsConstraintValidatorTest::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkFieldTest::assertInvalidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that invalid URLs cannot be submitted.

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