You are here

function button_field_action_reload in Button Field 7

Same name and namespace in other branches
  1. 8 button_field.rules.inc \button_field_action_reload()
  2. 6 button_field.rules.inc \button_field_action_reload()

Reloads the current page.

File

./button_field.rules.inc, line 74
Rules integration for the button_field module.

Code

function button_field_action_reload() {

  // Redirect to the current page.
  $_REQUEST['destination'] = $_SERVER['HTTP_REFERER'];
}