You are here

function uc_roles_help in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_roles/uc_roles.module \uc_roles_help()
  2. 7.3 uc_roles/uc_roles.module \uc_roles_help()

Implements hook_help().

File

uc_roles/uc_roles.module, line 24

Code

function uc_roles_help($path, $arg) {
  if ($path == 'node/%/edit/features' && $arg[4] == 'role') {
    return t('Add roles through this page and then use the <a href="!url">conditional actions interface</a> to limit which orders they are applied to. Most important is the order status on which role granting will be triggered.', array(
      '!url' => url(CA_UI_PATH),
    ));
  }
  switch ($path) {
    case 'admin/user/user/expiration':
      return t('Ubercart grants certain roles to customers when they purchase products with a role assignment feature. These can be permanent or temporary roles. Here you can view and edit when temporary roles are set to expire.');
  }
}