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
ComposerPluginsValidatorInsecureTest class core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorInsecureTest.php @covers \Drupal\package_manager\Validator\ComposerPluginsValidator[[api-linebreak]]
@group package_manager
@internal
ComposerPluginsValidatorInsecureTest.php file core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorInsecureTest.php
ComposerPluginsValidatorInsecureTest::testAddDisallowedPlugin function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorInsecureTest.php Tests adding a plugin that's not allowed by the allow-plugins config.
ComposerPluginsValidatorInsecureTest::testInsecureConfigurationFailsValidationPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorInsecureTest.php Tests `config.allow-plugins: true` fails validation during pre-apply.
ComposerPluginsValidatorInsecureTest::testInsecureConfigurationFailsValidationPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorInsecureTest.php Tests `config.allow-plugins: true` fails validation during pre-create.
ComposerPluginsValidatorSimpleInvalidTest class core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php @covers \Drupal\package_manager\Validator\ComposerPluginsValidator[[api-linebreak]]
@group package_manager
@group #slow
@internal
ComposerPluginsValidatorSimpleInvalidTest.php file core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php
ComposerPluginsValidatorSimpleInvalidTest::testValidationAfterTrustingDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php Tests additional composer plugins can be trusted during pre-apply.
ComposerPluginsValidatorSimpleInvalidTest::testValidationAfterTrustingDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php Tests additional composer plugins can be trusted during pre-create.
ComposerPluginsValidatorSimpleInvalidTest::testValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php Tests composer plugins are validated during pre-apply.
ComposerPluginsValidatorSimpleInvalidTest::testValidationDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleInvalidTest.php Tests composer plugins are validated during pre-create.
ComposerPluginsValidatorSimpleValidTest class core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleValidTest.php @covers \Drupal\package_manager\Validator\ComposerPluginsValidator[[api-linebreak]]
@group #slow
@group package_manager
@internal
ComposerPluginsValidatorSimpleValidTest.php file core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleValidTest.php
ComposerPluginsValidatorSimpleValidTest::testValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleValidTest.php Tests composer plugins are validated during pre-apply.
ComposerPluginsValidatorSimpleValidTest::testValidationDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorSimpleValidTest.php Tests composer plugins are validated during pre-create.
ComposerPluginsValidatorTestBase class core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php @internal
ComposerPluginsValidatorTestBase.php file core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php
ComposerPluginsValidatorTestBase::doTestValidationAfterTrustingDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Tests additional composer plugins can be trusted during pre-apply.
ComposerPluginsValidatorTestBase::doTestValidationAfterTrustingDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Tests additional composer plugins can be trusted during pre-create.
ComposerPluginsValidatorTestBase::doTestValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Tests composer plugins are validated during pre-apply.
ComposerPluginsValidatorTestBase::doTestValidationDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Tests composer plugins are validated during pre-create.
ComposerPluginsValidatorTestBase::providerComplexInvalidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Generates complex invalid test cases based on the simple test cases.
ComposerPluginsValidatorTestBase::providerSimpleInvalidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Generates simple invalid test cases.
ComposerPluginsValidatorTestBase::providerSimpleValidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php Generates simple test cases.
ComposerValidator class core/modules/package_manager/src/Validator/ComposerValidator.php Validates the project can be used by the Composer Inspector.
ComposerValidator.php file core/modules/package_manager/src/Validator/ComposerValidator.php
ComposerValidator::getHelpUrl function core/modules/package_manager/src/Validator/ComposerValidator.php Returns a URL to a specific fragment of Package Manager's online help.
ComposerValidator::validate function core/modules/package_manager/src/Validator/ComposerValidator.php Validates that the Composer executable is the correct version.
ComposerValidator::__construct function core/modules/package_manager/src/Validator/ComposerValidator.php
ComposerValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php @covers \Drupal\package_manager\Validator\ComposerValidator[[api-linebreak]]
@group package_manager
@internal
ComposerValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php
ComposerValidatorTest::providerComposerSettingsValidation function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Data provider for testComposerSettingsValidation().
ComposerValidatorTest::providerLinkToOnlineHelp function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Data provider for ::testLinkToOnlineHelp().
ComposerValidatorTest::tearDown function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Invokes the test preconditions assertion after each test run.
ComposerValidatorTest::testComposerSettingsValidation function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that Composer's settings are validated.
ComposerValidatorTest::testComposerSettingsValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that Composer's settings are validated during pre-apply.
ComposerValidatorTest::testLinkToOnlineHelp function core/modules/package_manager/tests/src/Kernel/ComposerValidatorTest.php Tests that invalid configuration links to online help, if available.
ConfigEntityBaseUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The mocked cache backend.
ConfigEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php The mocked cache backend.
ConfigExistsConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Validates that a given config object exists.
ConfigExistsConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigExistsConstraintValidator::$configFactory property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php The config factory service.
ConfigExistsConstraintValidator::create function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Instantiates a new instance of this class.
ConfigExistsConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigExistsConstraintValidator::__construct function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Constructs a ConfigExistsConstraintValidator object.
ConfigExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists constraint validator.
ConfigExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php
ConfigExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Modules to install.
ConfigExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists constraint validator.
ConfigFactoryTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php The mocked cache tags invalidator.

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