You are here

function civicrm_entity_rules_action_info_alter in CiviCRM Entity 7.2

Same name and namespace in other branches
  1. 8.3 civicrm_entity.module \civicrm_entity_rules_action_info_alter()
  2. 7 civicrm_entity.module \civicrm_entity_rules_action_info_alter()

Implements hook_rules_action_info_alter().

I can't seem to get my info_alter function called by hook so am doing this hacky intercept to call my function (& then go back to the main function if not a CiviCRM entity

Parameters

$info:

File

./civicrm_entity.module, line 3757

Code

function civicrm_entity_rules_action_info_alter(&$info) {
  $info['entity_create']['callbacks']['info_alter'] = 'civicrm_entity_rules_action_entity_create_info_alter';
}