You are here

public function UpdateEvent::addValidationResult in Automatic Updates 8.2

Adds a validation result.

Parameters

\Drupal\automatic_updates\Validation\ValidationResult $validation_result: The validation result.

File

src/Event/UpdateEvent.php, line 58

Class

UpdateEvent
Event fired when a site is updating.

Namespace

Drupal\automatic_updates\Event

Code

public function addValidationResult(ValidationResult $validation_result) : void {
  $this->results[] = $validation_result;
}