function business_rules_help in Business Rules 2.x
Same name and namespace in other branches
- 8 business_rules.module \business_rules_help()
Implements hook_help().
File
- ./
business_rules.module, line 26 - Business Rules module.
Code
function business_rules_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the business_rules module.
case 'help.page.business_rules':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Business Rules') . '</p>';
$output .= '<p>' . Link::fromTextAndUrl(t('Click here to access the online Business Rules documentation.'), Url::fromUri('https://www.drupal.org/docs/8/modules/business-rules'))
->toString() . '</p>';
return $output;
default:
}
}