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
InvalidUpdateHookTest::$updateUser property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php A user account with upgrade permission.
InvalidUpdateHookTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::testInvalidUpdateHook function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidVersionIdentifierException class core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php Used when a version ID is invalid.
InvalidVersionIdentifierException.php file core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php
invalid_file.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/invalid_file.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/invalid_file.libraries.yml
invalid_module_name_over_the_maximum_allowed_character_length.info.yml file core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml
IpAddressBlockingTest::testIPAddressValidation function core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php Tests various user input to confirm correct validation and saving of data.
IsNullConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php Null constraint validator.
IsNullConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
IsNullConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/IsNullConstraintValidator.php
jsonapi.custom_query_parameter_names_validator.subscriber service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\JsonApiRequestValidator
jsonapi.resource_response_validator.subscriber service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\ResourceResponseValidator
JsonApiDocumentTopLevelNormalizer::validateRequestBody function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Performs minimal validation of the document.
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeInvalidTypeAndNoType function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Tests denormalization for related resources with missing or invalid types.
JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiRegressionTest::testInvalidDataTriggersUnprocessableEntityErrorFromIssue3052954 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure POSTing invalid data results in a 422 response, not a PHP error.
JsonApiRequestValidator class core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Subscriber that validates the query parameter names on a JSON:API request.
JsonApiRequestValidator.php file core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
JsonApiRequestValidator::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
JsonApiRequestValidator::onRequest function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates JSON:API requests.
JsonApiRequestValidator::onResponse function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates JSON:API requests.
JsonApiRequestValidator::validateQueryParams function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates custom (implementation-specific) query parameter names.
JsonApiSpec::isValidCustomQueryParameter function core/modules/jsonapi/src/JsonApiSpec.php Checks whether the given custom query parameter name is valid.
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
LangcodeRequiredIfTranslatableValuesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
LangcodeRequiredIfTranslatableValuesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
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.

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