You are here

function button_field_action_reload in Button Field 8

Same name and namespace in other branches
  1. 6 button_field.rules.inc \button_field_action_reload()
  2. 7 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'];
}