function account_field_split_help in Account field split 8
Same name and namespace in other branches
- 2.x account_field_split.module \account_field_split_help()
Implements hook_help().
File
- ./
account_field_split.module, line 17 - account_field_split module hooks and alters.
Code
function account_field_split_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the account_field_split module.
case 'help.page.account_field_split':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Currently the dragable field "User name and password" mashes together:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . 'Username' . '</li>';
$output .= '<li>' . 'Current password' . '</li>';
$output .= '<li>' . 'E-mail address' . '</li>';
$output .= '<li>' . 'Change Password' . '</li>';
$output .= '<li>' . 'Roles' . '</li>';
$output .= '<li>' . 'Status' . '</li>';
$output .= '<li>' . 'Notify user about new account (when admin create new account)' . '</li>';
$output .= '</ul>';
$output .= '<p>' . t('This module aims to fix that problem for site builders who want to manage that fields separately.') . '</p>';
$output .= '<h3>' . t('Usage') . '</h3>';
$output .= '<p>' . t('After enabling of this module you will see a list of new fields on %link.', [
'%link' => Link::fromTextAndUrl('Account settings Manage form display', Url::fromUserInput('/admin/config/people/accounts/form-display'))
->toString(),
]) . '</p>';
$output .= '<p>' . t('Manage or reorder them for your needs.') . '</p>';
return $output;
default:
}
}