function DuplicateInfoFileValidator::getSubscribedEvents

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/Validator/DuplicateInfoFileValidator.php \Drupal\package_manager\Validator\DuplicateInfoFileValidator::getSubscribedEvents()

File

core/modules/package_manager/src/Validator/DuplicateInfoFileValidator.php, line 67

Class

DuplicateInfoFileValidator
Validates the stage does not have duplicate info.yml not present in active.

Namespace

Drupal\package_manager\Validator

Code

public static function getSubscribedEvents() : array {
  return [
    PreApplyEvent::class => 'validate',
  ];
}

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