You are here

function system_authorized_run in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \system_authorized_run()
  2. 9 core/modules/system/system.module \system_authorized_run()
  3. 10 core/modules/system/system.module \system_authorized_run()

Setup and invoke an operation using authorize.php.

See also

system_authorized_init()

Related topics

File

modules/system/system.module, line 1839
Configuration system that lets administrators modify the workings of the site.

Code

function system_authorized_run($callback, $file, $arguments = array(), $page_title = NULL) {
  system_authorized_init($callback, $file, $arguments, $page_title);
  drupal_goto(system_authorized_get_url());
}