You are here

function button_field_action_reload in Button Field 6

Same name and namespace in other branches
  1. 8 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 73
Rules integration with the button_field module.

Code

function button_field_action_reload() {

  // redirect to the current page
  $_REQUEST['destination'] = $_REQUEST['path'];
  return TRUE;
}