WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

instead of drupal_set_message and dpm on Drupal 8 \Drupal:messenger

Submitted by barnettech on Fri, 12/07/2018 - 14:29
$messenger= \Drupal::messenger();
$messenger->addMessage('thanks for submitting the csv data, administrate users have been created from the csv file!');

or

\Drupal::messenger()->addMessage('Thanks for submitting the form!');