Search for validator
- Search 7.x for validator
- Search 9.5.x for validator
- Search 8.9.x for validator
- Search 11.x for validator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RequiredModuleUninstallValidatorTest::testValidateRequired | function | core/ |
@covers ::validate[[api-linebreak]] |
required_module_uninstall_validator | service | core/ |
Drupal\Core\Extension\RequiredModuleUninstallValidator |
ResourceResponseValidator | class | core/ |
Response subscriber that validates a JSON:API response. |
ResourceResponseValidator.php | file | core/ |
|
ResourceResponseValidator::$appRoot | property | core/ |
The application's root file path. |
ResourceResponseValidator::$logger | property | core/ |
The JSON:API logger channel. |
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. |
ResourceVersionRouteEnhancer::VERSION_IDENTIFIER_VALIDATOR | constant | core/ |
Resource version validation regex. |
RestTestConstraintValidator | class | core/ |
Validator for \Drupal\rest_test\Plugin\Validation\Constraint\RestTestConstraint. |
RestTestConstraintValidator.php | file | core/ |
|
RestTestConstraintValidator::validate | function | core/ |
|
Route::$pathValidator | property | core/ |
The path validator service. |
RouteProvider::$cacheTagInvalidator | property | core/ |
The cache tag invalidator. |
RouteProviderTest::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
SearchIndex::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
ShortcutSetController::$pathValidator | property | core/ |
The path validator. |
SiteInformationForm::$pathValidator | property | core/ |
The path validator. |
SourceEditingPreventSelfXssConstraintValidator | class | core/ |
Ensures Source Editing cannot be configured to allow self-XSS. |
SourceEditingPreventSelfXssConstraintValidator.php | file | core/ |
|
SourceEditingPreventSelfXssConstraintValidator::getRegExForWildCardAttributeName | function | core/ |
Computes a regular expression for matching a wildcard attribute name. |
SourceEditingPreventSelfXssConstraintValidator::isWildcardAttributeName | function | core/ |
Checks whether the given attribute name contains a wildcard, e.g. `data-*`. |
SourceEditingPreventSelfXssConstraintValidator::validate | function | core/ |
|
SourceEditingRedundantTagsConstraintValidator | class | core/ |
Ensures tags already available via plugin are not be added to Source Editing. |
SourceEditingRedundantTagsConstraintValidator.php | file | core/ |
|
SourceEditingRedundantTagsConstraintValidator::pluginsSupplyingTagsMessage | function | core/ |
Creates a message listing plugins and the overlapping tags they provide. |
SourceEditingRedundantTagsConstraintValidator::tagHasAttributeRestrictions | function | core/ |
Inspects whether the given tag has attribute restrictions. |
SourceEditingRedundantTagsConstraintValidator::validate | function | core/ |
|
StyleSensibleElementConstraintValidator | class | core/ |
Styles can only be specified for HTML5 tags and extra classes. |
StyleSensibleElementConstraintValidator.php | file | core/ |
|
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel | function | core/ |
Finds the plugin with elements that conflict with the style element. |
StyleSensibleElementConstraintValidator::intersectionWithClasses | function | core/ |
Checks if there is an intersection on allowed 'class' attribute values. |
StyleSensibleElementConstraintValidator::KNOWN_UNSUPPORTED_TAGS | constant | core/ |
Tags whose plugins are known to not yet integrate with the Style plugin. |
StyleSensibleElementConstraintValidator::validate | function | core/ |
|
TaxonomyTermHierarchyConstraintValidator | class | core/ |
Constraint validator for changing term parents in pending revisions. |
TaxonomyTermHierarchyConstraintValidator.php | file | core/ |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.