You are here

function taxonomy_permissions_help in Taxonomy Permissions 8

Implements hook_help().

File

./taxonomy_permissions.module, line 20
taxonomy_permissions.module

Code

function taxonomy_permissions_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.taxonomy_permissions':
      $output = '';
      $output .= '<h3>' . t("About") . '</h3>';
      $output .= '<p>' . t("Taxonomy Permissions adds 'view terms in\n      %vocabulary%' permissions to the list of permissions of the Taxonomy\n      core module.") . '</p>';
      $output .= '<p>' . t("To avoid surprises, vocabularies are visible by\n      authenticated and anonymous users by default. You have to change the\n      permissions to see any effect of this module.") . '</p>';
      return $output;
    default:
  }
}