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 10.3.x for valid
  5. Other projects
Title Object type File name Summary
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
Language::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php
LanguageAddForm::validateCustom function core/modules/language/src/Form/LanguageAddForm.php Validates the language addition form on custom language button.
LanguageAddForm::validatePredefined function core/modules/language/src/Form/LanguageAddForm.php Element specific validator for the Add language button.
LanguageConfigOverrideTest::$cacheTagsInvalidator property core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php The mocked cache tags invalidator.
LanguageConfigSchemaTest::testValidLanguageConfigSchema function core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php Tests whether the language config schema is valid.
LanguageFormBase::validateCommon function core/modules/language/src/Form/LanguageFormBase.php Validates the language editing element.
LanguageInterface::VALID_LANGCODE_REGEX constant core/lib/Drupal/Core/Language/LanguageInterface.php A regex for validating language codes according to W3C specifications.
LanguageListBuilder::validateForm function core/modules/language/src/LanguageListBuilder.php Form validation handler.
LanguageReference::getAllValidLangcodes function core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php Returns all valid values for a `langcode` config value.
LayoutBuilderEntityViewDisplayTest::testInvalidConfiguration function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php Tests that configuration schema enforces valid values.
LayoutBuilderEntityViewDisplayValidationTest class core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php Tests validation of Layout Builder's entity_view_display entities.
LayoutBuilderEntityViewDisplayValidationTest.php file core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php
LayoutBuilderEntityViewDisplayValidationTest::$modules property core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php Modules to install.
LayoutBuilderEntityViewDisplayValidationTest::setUp function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php
LayoutBuilderEntityViewDisplayValidationTest::testImmutableProperties function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php Tests that immutable properties cannot be changed.
LayoutBuilderEntityViewDisplayValidationTest::testLabelValidation function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php Tests validation of config entity's label.
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
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.

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