function users_export_help in Users Export 8
Same name and namespace in other branches
- 7.2 users_export.module \users_export_help()
Implements hook_help().
File
- ./
users_export.module, line 28 - Base module file for users_export.
Code
function users_export_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.users_export':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Provides a turn-key solution for exporting users in several different formats included Excel, CSV, JSON, tab-delimitted, and XML.') . '</p>';
$output .= '<h3>' . t('Use') . '</h3>';
$output .= '<dl>';
$output .= '<dt>- <i>' . t('Exporting') . '</i></dt>';
$output .= '<dd>' . t('Visit <a href="@url_export">admin/people/export</a>, adjust your settings and click Download File.', [
'@url_export' => Url::fromRoute('users_export.form')
->toString(),
]) . '</dd>';
$output .= '<dt>- <i>' . t('API') . '</i></dt>';
$output .= '<dd>' . t('Refer to <a href="@url_code" target="blank">users_export.api.php</a> for api functions and hooks.', [
'@url_code' => 'https://cgit.drupalcode.org/users_export/tree/users_export.api.php?h=8.x-1.x',
]) . '</dd>';
$output .= '</dl>';
return $output;
}
}