Search for valid
- Search 7.x for valid
- Search 9.5.x for valid
- Search 8.9.x for valid
- Search 10.3.x for valid
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceResponseValidator::$moduleHandler | property | core/ |
The module handler. |
ResourceResponseValidator::$validator | property | core/ |
The schema validator. |
ResourceResponseValidator::getSubscribedEvents | function | core/ |
|
ResourceResponseValidator::onResponse | function | core/ |
Validates JSON:API responses. |
ResourceResponseValidator::setValidator | function | core/ |
Sets the validator service if available. |
ResourceResponseValidator::validateResponse | function | core/ |
Validates a response against the JSON:API specification. |
ResourceResponseValidator::validateSchema | function | core/ |
Validates a string against a JSON Schema. It logs any possible errors. |
ResourceResponseValidator::__construct | function | core/ |
Constructs a ResourceResponseValidator object. |
ResourceResponseValidatorTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceResponseValidator[[api-linebreak]] @group jsonapi |
ResourceResponseValidatorTest.php | file | core/ |
|
ResourceResponseValidatorTest::$subscriber | property | core/ |
The subscriber under test. |
ResourceResponseValidatorTest::createRequest | function | core/ |
Helper method to create a request object. |
ResourceResponseValidatorTest::createResponse | function | core/ |
Helper method to create a resource response from arbitrary JSON. |
ResourceResponseValidatorTest::setUp | function | core/ |
|
ResourceResponseValidatorTest::testValidateResponse | function | core/ |
@covers ::validateResponse[[api-linebreak]] @dataProvider validateResponseProvider |
ResourceResponseValidatorTest::validateResponseProvider | function | core/ |
Provides test cases for testValidateResponse. |
ResourceTestBase::makeNormalizationInvalid | function | core/ |
Makes the given JSON:API document invalid. |
ResourceVersionRouteEnhancer::isValidVersionIdentifier | function | core/ |
Validates the user input. |
ResourceVersionRouteEnhancer::VERSION_IDENTIFIER_VALIDATOR | constant | core/ |
Resource version validation regex. |
ResponsiveImageStyleForm::validateForm | function | core/ |
Form validation handler. |
ResponsiveImageStyleValidationTest | class | core/ |
Tests validation of responsive_image_style entities. |
ResponsiveImageStyleValidationTest.php | file | core/ |
|
ResponsiveImageStyleValidationTest::$modules | property | core/ |
Modules to install. |
ResponsiveImageStyleValidationTest::setUp | function | core/ |
|
RestResourceConfigValidationTest | class | core/ |
Tests validation of rest_resource_config entities. |
RestResourceConfigValidationTest.php | file | core/ |
|
RestResourceConfigValidationTest::$hasLabel | property | core/ |
Whether a config entity of this type has a label. |
RestResourceConfigValidationTest::$modules | property | core/ |
Modules to install. |
RestResourceConfigValidationTest::setUp | function | core/ |
|
RestResourceConfigValidationTest::testInvalidPluginId | function | core/ |
Tests that the resource plugin ID is validated. |
RestTestConstraintValidator | class | core/ |
Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint. |
RestTestConstraintValidator.php | file | core/ |
|
RestTestConstraintValidator::validate | function | core/ |
|
Role::getAllValidPermissions | function | core/ |
Returns all valid permissions. |
Role::validateOptionsForm | function | core/ |
Validate the options form. |
RoleExistsConstraintValidator | class | core/ |
Validates that a role exists. |
RoleExistsConstraintValidator.php | file | core/ |
|
RoleExistsConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
RoleExistsConstraintValidator::validate | function | core/ |
|
RoleExistsConstraintValidator::__construct | function | core/ |
Create a new RoleExistsConstraintValidator instance. |
RoleExistsConstraintValidatorTest | class | core/ |
@group user @group Validation |
RoleExistsConstraintValidatorTest.php | file | core/ |
|
RoleExistsConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
RoleExistsConstraintValidatorTest::testRoleExists | function | core/ |
Tests when the constraint's entityTypeId value is not valid. |
RoleExistsConstraintValidatorTest::testValueMustBeAString | function | core/ |
Tests that the constraint validator will only work with strings. |
RoleValidationTest | class | core/ |
Tests validation of user_role entities. |
RoleValidationTest.php | file | core/ |
|
RoleValidationTest::$modules | property | core/ |
Modules to install. |
RoleValidationTest::setUp | function | core/ |
|
RollbackTest::testRollbackForInvalidConfig | function | core/ |
Tests rollback for invalid config. |
Pagination
- Previous page
- Page 54
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.