function system_authorized_run

Same name in other branches
  1. 7.x 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()
  4. 11.x core/modules/system/system.module \system_authorized_run()

Setup and invoke an operation using authorize.php.

See also

system_authorized_init()

Related topics

File

core/modules/system/system.module, line 537

Code

function system_authorized_run($callback, $file, $arguments = [], $page_title = NULL) {
    system_authorized_init($callback, $file, $arguments, $page_title);
    return new RedirectResponse(system_authorized_get_url()->toString());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.