function StageNotInActiveValidator::getSubscribedEvents
File
-
core/
modules/ package_manager/ src/ Validator/ StageNotInActiveValidator.php, line 46
Class
- StageNotInActiveValidator
- Validates staging root is not a subdirectory of active.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
$events = static::getSubscribedEventsFromTrait();
// We don't need to listen to PreApplyEvent because once the stage directory
// has been created, it's not going to be moved.
unset($events[PreApplyEvent::class]);
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.