You are here

function civicrm_entity_drupal_goto in CiviCRM Entity 7.2

If Rules is available, use that module's redirect on shutdown.

132 calls to civicrm_entity_drupal_goto()
civicrm_entity_actions_action_schedule_add_action in modules/civicrm_entity_actions/civicrm_entity_actions_action_schedule.inc
civicrm_entity_actions_action_schedule_delete_action in modules/civicrm_entity_actions/civicrm_entity_actions_action_schedule.inc
civicrm_entity_actions_action_schedule_edit_action in modules/civicrm_entity_actions/civicrm_entity_actions_action_schedule.inc
civicrm_entity_actions_action_schedule_view_action in modules/civicrm_entity_actions/civicrm_entity_actions_action_schedule.inc
civicrm_entity_actions_activity_add_action in modules/civicrm_entity_actions/civicrm_entity_actions_activity.inc

... See full list

File

./civicrm_entity.module, line 4091

Code

function civicrm_entity_drupal_goto($path = '', array $options = array(), $http_response_code = 302) {
  if (module_exists('rules')) {
    rules_action_drupal_goto($path);
  }
  else {
    drupal_goto($path, $options, $http_response_code);
  }
}