You are here

public static function AdminHelper::addError in Search and Replace Scanner 8

Show an error message on the screen.

File

src/AdminHelper.php, line 22

Class

AdminHelper
Shared logic for use in the mdoule.

Namespace

Drupal\scanner

Code

public static function addError($message) {
  \Drupal::messenger()
    ->addError($message);
}