function searchindex_wipe_help in Search Index Wipe 8
Same name and namespace in other branches
- 7 searchindex_wipe.module \searchindex_wipe_help()
Implements hook_help().
File
- ./
searchindex_wipe.module, line 50 - Enables wipe of search index.
Code
function searchindex_wipe_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.searchindex_wipe':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('AThis module clean up search index built by search module.') . '</p>';
$output .= '<p>' . t('It is helpful while deploying large sites whose search index becomes massive.') . '</p>';
$output .= '<p>' . t('TThe reindex button does not clear the search index but rather gradually replaces existing search data with new data as items are reindexed.') . '</p>';
// Add a link to the Drupal.org project.
$output .= '<p>';
$output .= t('Visit the <a href=":project_link">Search Index Wipe project page</a> on Drupal.org for more information.', [
':project_link' => 'https://www.drupal.org/project/searchindex_wipe',
]);
$output .= '</p>';
return $output;
default:
}
}