function LockFileValidator::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/LockFileValidator.php \Drupal\package_manager\Validator\LockFileValidator::getSubscribedEvents()
File
-
core/
modules/ package_manager/ src/ Validator/ LockFileValidator.php, line 181
Class
- LockFileValidator
- Checks that the active lock file is unchanged during stage operations.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
return [
PreCreateEvent::class => 'storeHash',
PreRequireEvent::class => 'validate',
PreApplyEvent::class => 'validate',
StatusCheckEvent::class => 'validate',
PostApplyEvent::class => 'deleteHash',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.