5 * Provides hook implementations for the Workflow UI module.
8 use Drupal\Core\Routing\RouteMatchInterface;
11 * Implements hook_help().
13 function workflows_help($route_name, RouteMatchInterface $route_match) {
14 switch ($route_name) {
15 // Main module help for the Workflow UI module.
16 case 'help.page.workflows':
18 $output .= '<h3>' . t('About') . '</h3>';
19 $output .= '<p>' . t('The Workflows module provides a UI and an API for creating workflows content. This lets site admins define workflows and their states, and then define transitions between those states. For more information, see the <a href=":workflow">online documentation for the Workflows module</a>.', [':workflow' => 'https://www.drupal.org/documentation/modules/workflows']) . '</p>';