function views_ajax_history_help in Views AJAX History 8
Implements hook_help().
File
- ./
views_ajax_history.module, line 14 - Add bookmarking abilities to AJAX Views.
Code
function views_ajax_history_help($route_name, RouteMatchInterface $arg) {
switch ($route_name) {
case 'help.page.views_ajax_history':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Enable bookmaking of AJAX views. Supports filters and paging.') . '</p>';
// Add a link to the Drupal.org project.
$output .= '<p>';
$output .= t('Visit the <a href=":project_link">Views AJAX History project pages</a> on Drupal.org for more information.', [
':project_link' => 'https://www.drupal.org/project/views_ajax_history',
]);
$output .= '</p>';
return $output;
}
}