You are here

function nodeaccess_help in Nodeaccess 8

Same name and namespace in other branches
  1. 8.2 nodeaccess.module \nodeaccess_help()
  2. 5 nodeaccess.module \nodeaccess_help()
  3. 6.2 nodeaccess.module \nodeaccess_help()
  4. 6 nodeaccess.module \nodeaccess_help()
  5. 7 nodeaccess.module \nodeaccess_help()

Implements hook_help().

File

./nodeaccess.module, line 19
Control access to site content based on the users and roles.

Code

function nodeaccess_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'entity.node.grants':
      return t("You can set grants for individual users. Enter a name or a partial name in the box and click Search or press return. You must check the 'Keep?' checkbox if you want to keep the user for granting. Note that user grants are in addition to those coming from roles.");
  }
}