Drupal 8 Ajouter un message
\Drupal::messenger()->addMessage($message, 'status');
\Drupal::messenger()->addMessage($message, 'warning');
\Drupal::messenger()->addMessage($message, 'error');
Graceful Gecko