Commit c4c7ddfc authored by john_a's avatar john_a Committed by john_a
Browse files

Issue #2974889 by john_a: add a Drupal message to marketing_cloud_example hook help()

parent d30844e8
* @file
* Adds example sub-module for demonstrating how to use Marketing Cloud.
......@@ -15,6 +16,8 @@ function marketing_cloud_example_help($route_name, RouteMatchInterface $route_ma
$text = file_get_contents(dirname(__FILE__) . '/');
if (!\Drupal::moduleHandler()->moduleExists('markdown')) {
drupal_set_message('To view this page correctly, please install and
enable the markdown module.');
return '<pre>' . $text . '</pre>';
else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment