Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / workflows / workflows.module
1 <?php
2
3 /**
4  * @file
5  * Provides hook implementations for the Workflow UI module.
6  */
7
8 use Drupal\Core\Routing\RouteMatchInterface;
9
10 /**
11  * Implements hook_help().
12  */
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':
17       $output = '';
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>';
20       return $output;
21   }
22 }