rsvp_attendee_confirm_remove

Definition

rsvp_attendee_confirm_remove($hash, $nid, $rid)
rsvp/rsvp.module, line 650

Code

<?php
function rsvp_attendee_confirm_remove($hash, $nid, $rid) {
  $invite = _rsvp_get_invite($hash);
  $form['nid'] = array(
    '#type' => 'hidden',
    '#value' => $nid,
  );
  $form['rid'] = array(
    '#type' => 'hidden',
    '#value' => $rid,
  );
  $form['hash'] = array(
    '#type' => 'hidden',
    '#value' => $hash,
  );
  return confirm_form($form, 
    t('Are you sure you want to remove?'),
    'node/'. $nid .'/rsvp/'. $rid .'/attendees',
    t('Removing an attendee will delete their responses and remove their access to their invitations to this RSVP.'),
    t('Remove Attendee'), t('Cancel')
  );
}
?>