function workspace_help in Workspace 8.2
Same name and namespace in other branches
- 8 workspace.module \workspace_help()
- 5 workspace.module \workspace_help()
- 6 workspace.module \workspace_help()
- 7 workspace.module \workspace_help()
Implements hook_help().
File
- ./
workspace.module, line 25 - Provides full-site preview functionality for content staging.
Code
function workspace_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the workspace module.
case 'help.page.workspace':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Workspace module allows workspaces to be defined and switched between. Content is then assigned to the active workspace when created. For more information, see the <a href=":workspace">online documentation for the Workspace module</a>.', [
':workspace' => 'https://www.drupal.org/node/2824024',
]) . '</p>';
return $output;
}
}