You are here

function content_profile_rules_action_info in Content Profile 6

Implementation of hook_rules_action_info().

File

./content_profile.rules.inc, line 47
Some rules conditions/actions

Code

function content_profile_rules_action_info() {
  return array(
    'content_profile_action_load' => array(
      'label' => t('Load Content Profile'),
      'arguments' => array(
        'user' => array(
          'type' => 'user',
          'label' => t('User, whose profile should be loaded'),
        ),
      ),
      'new variables' => array(
        'profile_node' => array(
          'type' => 'node',
          'label' => t('Content Profile'),
        ),
      ),
      'module' => 'Content Profile',
    ),
  );
}