function StatusCheckEvent::addResult

File

core/modules/package_manager/src/Event/StatusCheckEvent.php, line 69

Class

StatusCheckEvent
Event fired to check the status of the system to use Package Manager.

Namespace

Drupal\package_manager\Event

Code

public function addResult(ValidationResult $result) : void {
    // Override the parent to also allow warnings.
    $this->results[] = $result;
}

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