function pcp_rules_condition_info in Profile Complete Percent 5
Same name and namespace in other branches
- 6.2 pcp.module \pcp_rules_condition_info()
- 7 pcp.rules.inc \pcp_rules_condition_info()
Implementation of hook_rules_condition_info().
See also
content_complete_completeness_percentage_form
File
- ./
pcp.module, line 344 - 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_condition_info() {
return array(
'pcp_condition_check_profile_fields_completeness' => array(
'label' => t('Check profile fields completeness'),
'arguments' => array(
'user' => array(
'type' => 'user',
'label' => t('User'),
),
),
'help' => 'Evaluates to TRUE, if all the the selected user profile fields are filled in.',
'module' => 'Profile Complete Percent',
),
);
}