function workspaces_help in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workspaces/workspaces.module \workspaces_help()
- 9 core/modules/workspaces/workspaces.module \workspaces_help()
Implements hook_help().
File
- core/
modules/ workspaces/ workspaces.module, line 27 - Provides full-site preview functionality for content staging.
Code
function workspaces_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the Workspaces module.
case 'help.page.workspaces':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Workspaces 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=":workspaces">online documentation for the Workspaces module</a>.', [
':workspaces' => 'https://www.drupal.org/node/2824024',
]) . '</p>';
return $output;
}
}