You are here

function pcp_rules_action_info in Profile Complete Percent 6.2

Same name and namespace in other branches
  1. 5 pcp.module \pcp_rules_action_info()

Implementation of hook_rules_action_info

File

./pcp.module, line 605
Allows users with valid permissions to tag profile fields created from the profile module as required fields for a users profile to be considered complete.

Code

function pcp_rules_action_info() {
  return array(
    'pcp_action_redirect_user_to_editform' => array(
      'label' => t('Redirect the user to his own profile edit page'),
      'arguments' => array(
        'user' => array(
          'type' => 'user',
          'label' => t('User whos profile fields should be filled in'),
        ),
      ),
      'module' => 'Profile Complete Percent',
    ),
  );
}