Search for validator
- Search 7.x for validator
- Search 9.5.x for validator
- Search 8.9.x for validator
- Search 10.3.x for validator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MultisiteValidator::isMultisite | function | core/ |
Detects if the current site is part of a multisite. |
MultisiteValidator::validate | function | core/ |
Validates that the current site is not part of a multisite. |
MultisiteValidator::__construct | function | core/ |
|
MultisiteValidatorTest | class | core/ |
@covers \Drupal\package_manager\Validator\MultisiteValidator[[api-linebreak]] @group package_manager @internal |
MultisiteValidatorTest.php | file | core/ |
|
MultisiteValidatorTest::providerMultisite | function | core/ |
Data provider for testMultisite(). |
MultisiteValidatorTest::testMultisite | function | core/ |
Tests that Package Manager flags an error if run in a multisite. |
MultisiteValidatorTest::testMultisiteDuringPreApply | function | core/ |
Tests that an error is flagged if run in a multisite during pre-apply. |
NotNullConstraintValidator | class | core/ |
NotNull constraint validator. |
NotNullConstraintValidator.php | file | core/ |
|
NotNullConstraintValidator::validate | function | core/ |
|
NumericArgumentValidator | class | core/ |
Validate whether an argument is numeric or not. |
NumericArgumentValidator.php | file | core/ |
|
NumericArgumentValidator::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
NumericArgumentValidator::validateArgument | function | core/ |
Performs validation for a given argument. |
OEmbedResourceConstraintValidator | class | core/ |
Validates oEmbed resource URLs. |
OEmbedResourceConstraintValidator.php | file | core/ |
|
OEmbedResourceConstraintValidator::$logger | property | core/ |
The logger service. |
OEmbedResourceConstraintValidator::$resourceFetcher | property | core/ |
The resource fetcher service. |
OEmbedResourceConstraintValidator::$urlResolver | property | core/ |
The oEmbed URL resolver service. |
OEmbedResourceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
OEmbedResourceConstraintValidator::handleException | function | core/ |
Handles exceptions that occur during validation. |
OEmbedResourceConstraintValidator::validate | function | core/ |
|
OEmbedResourceConstraintValidator::__construct | function | core/ |
Constructs a new OEmbedResourceConstraintValidator. |
OEmbedResourceConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator[[api-linebreak]] |
OEmbedResourceConstraintValidatorTest.php | file | core/ |
|
OEmbedResourceConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
OEmbedResourceConstraintValidatorTest::getValue | function | core/ |
Wraps a media entity in an anonymous class to mock a field value. |
OEmbedResourceConstraintValidatorTest::setUp | function | core/ |
|
OEmbedResourceConstraintValidatorTest::testValidateEmptySource | function | core/ |
@covers ::validate[[api-linebreak]] |
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
@covers ::validate[[api-linebreak]] |
OverwriteExistingPackagesValidator | class | core/ |
Validates that newly installed packages don't overwrite existing directories. |
OverwriteExistingPackagesValidator.php | file | core/ |
|
OverwriteExistingPackagesValidator::getSubscribedEvents | function | core/ |
|
OverwriteExistingPackagesValidator::validate | function | core/ |
Validates that new installed packages don't overwrite existing directories. |
OverwriteExistingPackagesValidator::__construct | function | core/ |
|
OverwriteExistingPackagesValidatorTest | class | core/ |
@covers \Drupal\package_manager\Validator\OverwriteExistingPackagesValidator[[api-linebreak]] @group package_manager @internal |
OverwriteExistingPackagesValidatorTest.php | file | core/ |
|
OverwriteExistingPackagesValidatorTest::setUp | function | core/ |
|
OverwriteExistingPackagesValidatorTest::testNewPackagesOverwriteExisting | function | core/ |
Tests that new installed packages overwrite existing directories. |
PackageManagerKernelTestBase::$disableValidators | property | core/ |
The service IDs of any validators to disable. |
PackageManagerUninstallValidator | class | core/ |
Prevents any module from being uninstalled if update is in process. |
PackageManagerUninstallValidator.php | file | core/ |
|
PackageManagerUninstallValidator::validate | function | core/ |
Determines the reasons a module can not be uninstalled. |
PackageManagerUninstallValidator::__construct | function | core/ |
|
package_manager.validator.collect_paths_to_exclude_fail | service | core/ |
Drupal\package_manager_test_validation\CollectPathsToExcludeFailValidator |
path.validator | service | core/ |
Drupal\Core\Path\PathValidator |
PathAliasConstraintValidator | class | core/ |
Constraint validator for changing path aliases in pending revisions. |
PathAliasConstraintValidator.php | file | core/ |
|
PathAliasConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
Pagination
- Previous page
- Page 19
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.