You are here

function organigrams_rules_data_info_alter in Organigrams 7

Implements hook_rules_data_info_alter().

File

./organigrams.rules.inc, line 14
Rules integration for the organigrams module.

Code

function organigrams_rules_data_info_alter(&$data_info) {

  // Add our own wrappers to the organigrams entity.
  $data_info['organigrams']['wrapper class'] = 'RulesOrganigramsWrapper';
  $data_info['organigrams']['ui class'] = 'RulesDataUIOrganigrams';
}