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
ResourceResponseValidator.php file core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php
ResourceResponseValidator::$appRoot property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The application's root file path.
ResourceResponseValidator::$logger property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The JSON:API logger channel.
ResourceResponseValidator::$moduleHandler property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The module handler.
ResourceResponseValidator::$validator property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The schema validator.
ResourceResponseValidator::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php
ResourceResponseValidator::onResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates JSON:API responses.
ResourceResponseValidator::setValidator function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Sets the validator service if available.
ResourceResponseValidator::validateResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a response against the JSON:API specification.
ResourceResponseValidator::validateSchema function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a string against a JSON Schema. It logs any possible errors.
ResourceResponseValidator::__construct function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Constructs a ResourceResponseValidator object.
ResourceResponseValidatorTest class core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceResponseValidator
@group jsonapi
ResourceResponseValidatorTest.php file core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php
ResourceResponseValidatorTest::$subscriber property core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php The subscriber under test.
ResourceResponseValidatorTest::createRequest function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a request object.
ResourceResponseValidatorTest::createResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a resource response from arbitrary JSON.
ResourceResponseValidatorTest::setUp function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php
ResourceResponseValidatorTest::testValidateResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @covers ::validateResponse
@dataProvider validateResponseProvider
ResourceResponseValidatorTest::validateResponseProvider function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Provides test cases for testValidateResponse.
ResourceTestBase::makeNormalizationInvalid function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Makes the given JSON:API document invalid.
ResourceVersionRouteEnhancer::isValidVersionIdentifier function core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Validates the user input.
ResourceVersionRouteEnhancer::VERSION_IDENTIFIER_VALIDATOR constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php Resource version validation regex.
ResponsiveImageStyleForm::validateForm function core/modules/responsive_image/src/ResponsiveImageStyleForm.php Form validation handler.
ResponsiveImageStyleValidationTest class core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php Tests validation of responsive_image_style entities.
ResponsiveImageStyleValidationTest.php file core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php
ResponsiveImageStyleValidationTest::$modules property core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php Modules to install.
ResponsiveImageStyleValidationTest::setUp function core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php
RestResourceConfigValidationTest class core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php Tests validation of rest_resource_config entities.
RestResourceConfigValidationTest.php file core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php
RestResourceConfigValidationTest::$hasLabel property core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php Whether a config entity of this type has a label.
RestResourceConfigValidationTest::$modules property core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php Modules to install.
RestResourceConfigValidationTest::setUp function core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php
RestResourceConfigValidationTest::testInvalidPluginId function core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php Tests that the resource plugin ID is validated.
RestTestConstraintValidator class core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint.
RestTestConstraintValidator.php file core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php
RestTestConstraintValidator::validate function core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php
Role::validateOptionsForm function core/modules/user/src/Plugin/views/access/Role.php Validate the options form.
RoleValidationTest class core/modules/user/tests/src/Kernel/RoleValidationTest.php Tests validation of user_role entities.
RoleValidationTest.php file core/modules/user/tests/src/Kernel/RoleValidationTest.php
RoleValidationTest::$modules property core/modules/user/tests/src/Kernel/RoleValidationTest.php Modules to install.
RoleValidationTest::setUp function core/modules/user/tests/src/Kernel/RoleValidationTest.php
RollbackTest::testRollbackForInvalidConfig function core/tests/Drupal/FunctionalTests/Core/Recipe/RollbackTest.php @testWith ["invalid_config", "core.date_format.invalid"]
["recipe_depend_on_invalid", "core.date_format.invalid"]
["recipe_depend_on_invalid_config_and_valid_modules", "core.date_format.invalid"]
Rotate::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Rotate.php Validates the arguments.
RotateImageEffect::validateConfigurationForm function core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php
Route::$pathValidator property core/modules/migrate/src/Plugin/migrate/process/Route.php The path validator service.
RouteProvider::$cacheTagInvalidator property core/lib/Drupal/Core/Routing/RouteProvider.php The cache tag invalidator.
RouteProviderTest::$cacheTagsInvalidator property core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php The cache tags invalidator.
RowPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/row/RowPluginBase.php Validate the options form.
RowTest::testRowWithInvalidData function core/modules/migrate/tests/src/Unit/RowTest.php Tests object creation: invalid values.
RssFields::validate function core/modules/views/src/Plugin/views/row/RssFields.php Validate that the plugin is correct and can be saved.

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