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
StaticMapTest::testMapWithInvalidSourceWithADefaultValue function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid but there's a default.
StaticMapTest::testMapWithInvalidSourceWithANullDefaultValue function core/modules/migrate/tests/src/Unit/process/StaticMapTest.php Tests when the source is invalid but there's a default value of NULL.
StorableConfigBase::validateValue function core/lib/Drupal/Core/Config/StorableConfigBase.php Validate the values are allowed data types.
StorageComparer::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparer.php Validates that the system.site::uuid in the source and target match.
StorageComparerInterface::validateSiteUuid function core/lib/Drupal/Core/Config/StorageComparerInterface.php Validates that the system.site::uuid in the source and target match.
StorageCopyTraitTest::testWithInvalidConfiguration function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Tests replaceStorageContents() with config with an invalid configuration.
StorageReplaceDataWrapperTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/StorageReplaceDataWrapperTest.php Tests an invalid storage.
StorageTest::testCachedFormStorageValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests updating cached form storage during form validation.
StorageTest::testValidation function core/modules/system/tests/src/Functional/Form/StorageTest.php Tests validation when form storage is used.
StreamWrapperManager::isValidScheme function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Checks that the scheme of a stream URI is valid.
StreamWrapperManager::isValidUri function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Determines whether the URI has a valid scheme for file API operations.
StreamWrapperManagerInterface::isValidScheme function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Checks that the scheme of a stream URI is valid.
StreamWrapperManagerInterface::isValidUri function core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Determines whether the URI has a valid scheme for file API operations.
StreamWrapperTest::testGetValidStreamScheme function core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php Tests the scheme functions.
StubTestTrait::validateStub function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Perform validation on a stub entity.
Style::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php
StylePluginBase::validate function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate that the plugin is correct and can be saved.
StylePluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/style/StylePluginBase.php Validate the options form.
StyleSensibleElementConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Finds the plugin with elements that conflict with the style element.
StyleSensibleElementConstraintValidator::intersectionWithClasses function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Checks if there is an intersection on allowed 'class' attribute values.
StyleSensibleElementConstraintValidator::KNOWN_UNSUPPORTED_TAGS constant core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Tags whose plugins are known to not yet integrate with the Style plugin.
StyleSensibleElementConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Retrieves the limited validation error sections.
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php Sets the limited validation error sections.
SubformStateTest::testGetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::getLimitValidationErrors
SubformStateTest::testSetLimitValidationErrors function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setLimitValidationErrors
SupportedReleaseValidator class core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Validates that updated projects are secure and supported.
SupportedReleaseValidator.php file core/modules/package_manager/src/Validator/SupportedReleaseValidator.php
SupportedReleaseValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/SupportedReleaseValidator.php
SupportedReleaseValidator::isSupportedRelease function core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Checks if the given version of a project is supported.
SupportedReleaseValidator::validate function core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Checks that the packages are secure and supported.
SupportedReleaseValidator::__construct function core/modules/package_manager/src/Validator/SupportedReleaseValidator.php
SupportedReleaseValidatorTest class core/modules/package_manager/tests/src/Kernel/SupportedReleaseValidatorTest.php @coversDefaultClass \Drupal\package_manager\Validator\SupportedReleaseValidator
@group package_manager
@internal
SupportedReleaseValidatorTest.php file core/modules/package_manager/tests/src/Kernel/SupportedReleaseValidatorTest.php
SupportedReleaseValidatorTest::providerException function core/modules/package_manager/tests/src/Kernel/SupportedReleaseValidatorTest.php Data provider for testException().
SupportedReleaseValidatorTest::setUp function core/modules/package_manager/tests/src/Kernel/SupportedReleaseValidatorTest.php
SupportedReleaseValidatorTest::testException function core/modules/package_manager/tests/src/Kernel/SupportedReleaseValidatorTest.php Tests exceptions when updating to unsupported or insecure releases.
SwitchShortcutSet::validateForm function core/modules/shortcut/src/Form/SwitchShortcutSet.php Form validation handler.
SymlinkValidator class core/modules/package_manager/src/Validator/SymlinkValidator.php Flags errors if unsupported symbolic links are detected.
SymlinkValidator.php file core/modules/package_manager/src/Validator/SymlinkValidator.php
SymlinkValidator::validate function core/modules/package_manager/src/Validator/SymlinkValidator.php Flags errors if the project root or stage directory contain symbolic links.
SymlinkValidator::__construct function core/modules/package_manager/src/Validator/SymlinkValidator.php
SymlinkValidatorTest class core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php @covers \Drupal\package_manager\Validator\SymlinkValidator
@group package_manager
@internal
SymlinkValidatorTest.php file core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php
SymlinkValidatorTest::testAbsoluteSymlinks function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that symlinks with absolute paths are not supported.
SymlinkValidatorTest::testHardLinks function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that hard links are not supported.
SymlinkValidatorTest::testSymlinkPointingOutsideProjectRoot function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that relative symlinks cannot point outside the project root.
SymlinkValidatorTest::testSymlinkPointingOutsideStageDirectory function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that relative symlinks cannot point outside the stage directory.

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