You are here

public static function AdminHelper::addMessage in moderated content bulk publish 8

Same name and namespace in other branches
  1. 2.0.x src/AdminHelper.php \Drupal\moderated_content_bulk_publish\AdminHelper::addMessage()
  2. 1.0.x src/AdminHelper.php \Drupal\moderated_content_bulk_publish\AdminHelper::addMessage()

File

src/AdminHelper.php, line 7

Class

AdminHelper

Namespace

Drupal\moderated_content_bulk_publish

Code

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