You are here

function merci_reservation_rules_event_info in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Implementation of hook_rules_event_info().

File

merci_reservation/merci_reservation.module, line 87

Code

function merci_reservation_rules_event_info() {
  $defaults = array(
    'group' => t('MERCI'),
    'module' => 'merci_core',
  );
  return array(
    'merci_reservation_validate' => $defaults + array(
      'label' => t('When validating a new MERCI reservation'),
      'variables' => array(
        'reservation' => array(
          'type' => 'entity',
          'label' => t('Reservation entity'),
        ),
        'errors' => array(
          'type' => 'struct',
          'label' => t('errors'),
        ),
      ),
    ),
  );
}