Comment on Use Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead of drupal_set_message