You are here

function permissions_by_term_help in Permissions by Term 7

Same name and namespace in other branches
  1. 8.2 permissions_by_term.module \permissions_by_term_help()
  2. 8 permissions_by_term.module \permissions_by_term_help()

Implements hook_help().

File

./permissions_by_term.module, line 10
Allows access to terms in a vocabulary to be limited by user or role.

Code

function permissions_by_term_help($path, $arg) {
  switch ($path) {
    case 'admin/help#permissions_by_term':
      $output = '<p>' . t('This module allows taxonomy administrators the
        ability to restrict setting individual terms on nodes by user
        or role. Additionally it restricts the access to node view and removes
        the nodes from views according user and role access settings. If a user
        is unable to set any terms for a required vocabulary, they are blocked
        from adding or editing content with that vocabulary.') . '</p>';
      $output .= '<p>' . t('To add permissions for a term, go to
        Administer >> Content Management >> Taxonomy, and add or
        edit a term. If the permissions are left blank, the term is
        available to all users.') . '</p>';
      return $output;
  }
}