You are here

public function ValidationResult::getMessages in Automatic Updates 8.2

Gets the messages.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup[] The error or warning messages.

File

src/Validation/ValidationResult.php, line 98

Class

ValidationResult
A value object to contain the results of a validation.

Namespace

Drupal\automatic_updates\Validation

Code

public function getMessages() : array {
  return $this->messages;
}