You are here

public function ValidationError::__toString in Backup and Migrate 5.0.x

String representation of the exception.

Return value

string The string representation of the exception.

File

src/Core/Config/ValidationError.php, line 65

Class

ValidationError
@package Drupal\backup_migrate\Core\Config

Namespace

Drupal\backup_migrate\Core\Config

Code

public function __toString() {
  return strtr($this
    ->getMessage(), $this
    ->getReplacement());
}