You are here

function replicate_ui_rules_event_info in Replicate UI 7

Implements of hook_rules_event_info().

File

./replicate_ui.rules.inc, line 128
Replicate Rules code: actions, conditions and events.

Code

function replicate_ui_rules_event_info() {
  $defaults = array(
    'module' => 'replicate_ui',
    'group' => t('Replicate'),
  );
  return array(
    'replicate_ui_after_replication' => $defaults + array(
      'label' => t('After Replication'),
      'variables' => array(
        'replica' => array(
          'type' => 'entity',
          'label' => t('Replicate / Clone'),
        ),
        'entity_type' => array(
          'type' => 'text',
          'label' => t('Entity type'),
        ),
        'original' => array(
          'type' => 'entity',
          'label' => t('Original'),
        ),
      ),
    ),
  );
}