Search for validator

  1. Search 7.x for validator
  2. Search 9.5.x for validator
  3. Search 8.9.x for validator
  4. Search 10.3.x for validator
  5. Other projects
Title Object type File name Summary
PathValidatorTest::testIsValidWithPathAlias function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a path alias.
PathValidatorTest::testIsValidWithResourceNotFound function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests is valid with resource not found.
PendingUpdatesValidator class core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PendingUpdatesValidator.php file core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidator::updatesExist function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Checks if there are any pending update or post-update hooks.
PendingUpdatesValidator::validate function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PendingUpdatesValidator::__construct function core/modules/package_manager/src/Validator/PendingUpdatesValidator.php
PendingUpdatesValidatorTest class core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php @covers \Drupal\package_manager\Validator\PendingUpdatesValidator[[api-linebreak]]
@group package_manager
@internal
PendingUpdatesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php
PendingUpdatesValidatorTest::$modules property core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Modules to install.
PendingUpdatesValidatorTest::testNoPendingUpdates function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that no error is raised if there are no pending updates.
PendingUpdatesValidatorTest::testPendingPostUpdate function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that an error is raised if there are pending post-updates.
PendingUpdatesValidatorTest::testPendingUpdateAfterStaged function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that pending updates stop an operation from being applied.
PendingUpdatesValidatorTest::testPendingUpdateHook function core/modules/package_manager/tests/src/Kernel/PendingUpdatesValidatorTest.php Tests that an error is raised if there are pending schema updates.
performance_test.cache_tags.invalidator.checksum service core/modules/system/tests/modules/performance_test/performance_test.services.yml Drupal\performance_test\Cache\CacheTagsChecksumDecorator
PhpExtensionsValidator class core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Performs validation if certain PHP extensions are enabled.
PhpExtensionsValidator.php file core/modules/package_manager/src/Validator/PhpExtensionsValidator.php
PhpExtensionsValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php
PhpExtensionsValidator::insideTest function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Whether this validator is running inside a test.
PhpExtensionsValidator::isExtensionLoaded function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Indicates if a particular PHP extension is loaded.
PhpExtensionsValidator::validateOpenSsl function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags an error if the OpenSSL extension is not installed.
PhpExtensionsValidator::validateXdebug function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags a warning if Xdebug is enabled.
PhpExtensionsValidatorTest class core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php @covers \Drupal\package_manager\Validator\PhpExtensionsValidator[[api-linebreak]]
@group package_manager
@internal
PhpExtensionsValidatorTest.php file core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php
PhpExtensionsValidatorTest::providerPhpExtensionsValidation function core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php Data provider for ::testPhpExtensionsValidation().
PhpExtensionsValidatorTest::testPhpExtensionsValidation function core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php Tests that PHP extensions' status are checked by Package Manager.
PhpTufValidator class core/modules/package_manager/src/Validator/PhpTufValidator.php Validates that PHP-TUF is installed and correctly configured.
PhpTufValidator.php file core/modules/package_manager/src/Validator/PhpTufValidator.php
PhpTufValidator::getRepositoryStatus function core/modules/package_manager/src/Validator/PhpTufValidator.php Gets the TUF protection status of Composer repositories.
PhpTufValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PhpTufValidator.php
PhpTufValidator::PLUGIN_NAME constant core/modules/package_manager/src/Validator/PhpTufValidator.php The name of the PHP-TUF Composer integration plugin.
PhpTufValidator::validate function core/modules/package_manager/src/Validator/PhpTufValidator.php Reacts to a stage event by validating PHP-TUF configuration as needed.
PhpTufValidator::validateTuf function core/modules/package_manager/src/Validator/PhpTufValidator.php Flags messages if PHP-TUF is not installed and configured properly.
PhpTufValidator::__construct function core/modules/package_manager/src/Validator/PhpTufValidator.php
PhpTufValidatorTest class core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php @coversDefaultClass \Drupal\package_manager\Validator\PhpTufValidator[[api-linebreak]]
@group package_manager
@group #slow
@internal
PhpTufValidatorTest.php file core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php
PhpTufValidatorTest::providerInvalidConfiguration function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Data provider for testing invalid plugin configuration.
PhpTufValidatorTest::providerInvalidConfigurationInStage function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Data provider for testing invalid plugin configuration in the stage.
PhpTufValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php
PhpTufValidatorTest::testInvalidConfigurationInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests errors caused by invalid plugin configuration in the project root.
PhpTufValidatorTest::testInvalidConfigurationInStage function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests errors caused by invalid plugin configuration in the stage directory.
PhpTufValidatorTest::testPluginInstalledAndConfiguredProperly function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests that there are no errors if the plugin is set up correctly.
PhpTufValidatorTest::testPluginNotInstalledInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests there is an error if the plugin is not installed in the project root.
PhpTufValidatorTest::testPluginRemovedFromStagePreApply function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests removing the plugin from the stage before applying it.
PhpTufValidatorTest::testPluginRemovedFromStagePreRequire function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests removing the plugin from the stage on pre-require.
plugin.manager.views.argument_validator service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
PluginExistsConstraintValidator class core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php Validates the PluginExists constraint.
PluginExistsConstraintValidator.php file core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php
PluginExistsConstraintValidator::validate function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraintValidator.php

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