function auto_block_scheduler_help in Auto Block Scheduler 8.2
Same name and namespace in other branches
- 8 auto_block_scheduler.module \auto_block_scheduler_help()
- 7 auto_block_scheduler.module \auto_block_scheduler_help()
Implements hook_help().
File
- ./
auto_block_scheduler.module, line 14 - Scheduler publishes and unpublishes nodes on dates specified by the user.
Code
function auto_block_scheduler_help($route_name, RouteMatchInterface $route_match) {
$output = '';
switch ($route_name) {
case 'help.page.auto_block_scheduler':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Auto Block Scheduler module provides the functionality for automatic publishing and unpublishing of blocks at specified future dates.') . '</p>';
$output .= '<p>' . t('You can read more in the <a href="@readme">readme</a> file or our <a href="@project">project page on Drupal.org</a>.', [
'@readme' => $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'auto_block_scheduler') . '/README.txt',
'@project' => 'https://drupal.org/project/auto_block_scheduler',
]) . '</p>';
break;
case 'auto_block_scheduler.admin_form':
break;
default:
}
return $output;
}