You are here

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

Show a message on the screen.

File

src/AdminHelper.php, line 15

Class

AdminHelper
Shared logic for use in the mdoule.

Namespace

Drupal\scanner

Code

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