function workspaces_help
Same name in other branches
- 8.9.x core/modules/workspaces/workspaces.module \workspaces_help()
- 10 core/modules/workspaces/workspaces.module \workspaces_help()
Implements hook_help().
File
-
core/
modules/ workspaces/ workspaces.module, line 27
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/docs/8/core/modules/workspace/overview',
]) . '</p>';
return $output;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.