Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
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.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Ensure that the generated placeholder markup is valid.
plugin.manager.views.argument_validator service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
PluginBase::validate function core/modules/views/src/Plugin/views/PluginBase.php Validate that the plugin is correct and can be saved.
PluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/PluginBase.php Validate the options form.
PluginExistsConstraint::$invalidInterfaceMessage property core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php The error message if a plugin does not implement the expected interface.
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
PluginExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php @group Plugin
@group Validation
PluginExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php
PluginExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Modules to install.
PluginExistsConstraintValidatorTest::testFallbackPluginIds function core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Tests that fallback plugin IDs can be considered valid or invalid.
PluginExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Plugin/PluginExistsConstraintValidatorTest.php Tests validation of plugin existence.
PluginFormBase::validateConfigurationForm function core/lib/Drupal/Core/Plugin/PluginFormBase.php Form validation handler.
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
PluginFormInterface::validateConfigurationForm function core/lib/Drupal/Core/Plugin/PluginFormInterface.php Form validation handler.
PluginManagerDependentValidatorTrait trait core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Common functionality for many CKEditor 5 validation constraints.
PluginManagerDependentValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluginManagerDependentValidatorTrait::$pluginManager property core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php The CKEditor 5 plugin manager.
PluginManagerDependentValidatorTrait::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluginManagerDependentValidatorTrait::getEnableableDisabledPlugins function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Gets all disabled CKEditor 5 plugin definitions the user can enable.
PluginManagerDependentValidatorTrait::getOtherEnabledPlugins function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Gets all other enabled CKEditor 5 plugin definitions.
PluginManagerDependentValidatorTrait::__construct function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php Constructs a CKEditor5ConstraintValidatorTrait object.
PrecedingConstraintAwareValidatorTrait trait core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php A constraint may need preceding constraints to not have been violated.
PrecedingConstraintAwareValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php
PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Gets the constraints preceding the given constraint in the current context.
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Checks whether any preceding constraints have been violated.
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
PreprocessPagerTest::testPaginationHeadingLevelInvalid function core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php Test template_preprocess_pager() with an invalid #pagination_heading_level.
PrimitiveTypeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php Validates the PrimitiveType constraint.
PrimitiveTypeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidatorTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator
@group validation
PrimitiveTypeConstraintValidatorTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate
ProcessOutputCallbackTest::testInvalidJson function core/modules/package_manager/tests/src/Unit/ProcessOutputCallbackTest.php Tests what happens when the output buffer has invalid JSON.
ProjectRelease::validateReleaseData function core/modules/update/src/ProjectRelease.php Validates the project release data.
ProjectReleaseTest::getValidData function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Gets valid data for a project release.
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.

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