You are here

function neutral_paths_help in Neutral paths 8

Implements hook_help().

File

./neutral_paths.module, line 23
Neutral paths.

Code

function neutral_paths_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'neutral_paths.settings.form':
      $output = '<p>' . t('This page allows to select the path types to set as language neutral.') . '</br>';
      $output .= t('Language neutral paths will be accessible from any language.') . '</p>';
      $output .= '<p>' . t('Note that this setting will affect only the aliases created or updated after saving the configuration, to apply the change to old aliases use the <a href=":bulk_generate">Bulk generate</a> functionality.', [
        ':bulk_generate' => Url::fromRoute('pathauto.bulk.update.form')
          ->toString(),
      ]) . '</p>';
      return $output;
  }
}