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
JsonApiSpec::isValidMemberName function core/modules/jsonapi/src/JsonApiSpec.php Checks whether the given member name is valid.
JsonApiSpecTest::providerTestIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidCustomQueryParameter.
JsonApiSpecTest::providerTestIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidMemberName.
JsonApiSpecTest::testIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Provides test cases.
JsonApiSpecTest::testIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Ensures that member names are properly validated.
KeyValueEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php The mocked cache tags invalidator.
KeyValueEntityStorageTest::testSaveInvalid function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::save
@covers ::doSave
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.
LayoutBuilderEntityViewDisplayTest::testInvalidConfiguration function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php Tests that configuration schema enforces valid values.
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.
LazyContextRepositoryTest::testInvalidContextId function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts
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 Proxy for the current user account.
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
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
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.
LinkFieldTest::assertValidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that valid URLs can be submitted.

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