Add some help text to /farm/settings/language to explain how it works.
This commit is contained in:
parent
9da19d75b3
commit
68ef107c83
|
@ -7,8 +7,23 @@
|
|||
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Render\Element;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Url;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
function farm_l10n_help($route_name, RouteMatchInterface $route_match) {
|
||||
$output = '';
|
||||
|
||||
// Help text for the farm/settings/language form.
|
||||
if ($route_name == 'farm_l10n.settings') {
|
||||
$output .= '<p>' . t('Select the default language for the user interface. Individual users can override this by editing their profile.') . '</p>';
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_form_FORM_ID_alter().
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue