$this->moduleHandler = $module_handler;
}
-
/**
* Analyzes a review and return the results.
*
/**
* Formats the analyze result into a message string.
*
- * This is based upon the format of drupal_set_message which uses separate
+ * This is based upon the format of
+ * \Drupal\Core\Messenger\MessengerInterface::addMessage() which uses separate
* boxes for "ok", "warning" and "error".
*/
public function formatMessages(array $messages) {