You are here

function field_permissions_help in Field Permissions 8.2

Same name and namespace in other branches
  1. 8 field_permissions.module \field_permissions_help()
  2. 7 field_permissions.module \field_permissions_help()

Implements hook_help().

File

./field_permissions.module, line 22
Contains field_permissions.module.

Code

function field_permissions_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.field_permissions':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Set field-level permissions to edit or view fields in any entity type (content, users, taxonomy, etc), edit field during entity creation, and edit or view permissions for content owned by the current user.') . '</p>';
      return $output;
  }
}