namespace Drupal\package_manager\Validator

Object name File name Summary
AllowedScaffoldPackagesValidator core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates the list of packages that are allowed to scaffold files.
BaseRequirementsFulfilledValidator core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php Validates that base requirements do not have any errors.
BaseRequirementValidatorTrait core/modules/package_manager/src/Validator/BaseRequirementValidatorTrait.php Provides methods for base requirement validators.
ComposerMinimumStabilityValidator core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Checks that the packages to install meet the minimum stability.
ComposerPatchesValidator core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the configuration of the cweagans/composer-patches plugin.
ComposerPluginsValidator core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Validates the allowed Composer plugins, both in active and stage.
ComposerValidator core/modules/package_manager/src/Validator/ComposerValidator.php Validates the project can be used by the Composer Inspector.
DiskSpaceValidator core/modules/package_manager/src/Validator/DiskSpaceValidator.php Validates that there is enough free disk space to do stage operations.
DuplicateInfoFileValidator core/modules/package_manager/src/Validator/DuplicateInfoFileValidator.php Validates the stage does not have duplicate info.yml not present in active.
EnabledExtensionsValidator core/modules/package_manager/src/Validator/EnabledExtensionsValidator.php Validates no enabled Drupal extensions are removed from the stage directory.
EnvironmentSupportValidator core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php Checks that the environment has support for Package Manager.
LockFileValidator core/modules/package_manager/src/Validator/LockFileValidator.php Checks that the active lock file is unchanged during stage operations.
MultisiteValidator core/modules/package_manager/src/Validator/MultisiteValidator.php Checks that the current site is not part of a multisite.
OverwriteExistingPackagesValidator core/modules/package_manager/src/Validator/OverwriteExistingPackagesValidator.php Validates that newly installed packages don't overwrite existing directories.
PendingUpdatesValidator core/modules/package_manager/src/Validator/PendingUpdatesValidator.php Validates that there are no pending database updates.
PhpExtensionsValidator core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Performs validation if certain PHP extensions are enabled.
PhpTufValidator core/modules/package_manager/src/Validator/PhpTufValidator.php Validates that PHP-TUF is installed and correctly configured.
RsyncValidator core/modules/package_manager/src/Validator/RsyncValidator.php Checks that rsync is available.
SettingsValidator core/modules/package_manager/src/Validator/SettingsValidator.php Checks that Drupal's settings are valid for Package Manager.
StagedDBUpdateValidator core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Flags a warning if there are database updates in a staged update.
StageNotInActiveValidator core/modules/package_manager/src/Validator/StageNotInActiveValidator.php Validates staging root is not a subdirectory of active.
SupportedReleaseValidator core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Validates that updated projects are secure and supported.
SymlinkValidator core/modules/package_manager/src/Validator/SymlinkValidator.php Flags errors if unsupported symbolic links are detected.
WritableFileSystemValidator core/modules/package_manager/src/Validator/WritableFileSystemValidator.php Checks that the file system is writable.

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