function system_authorized_run in Drupal 8
Same name and namespace in other branches
- 7 modules/system/system.module \system_authorized_run()
- 9 core/modules/system/system.module \system_authorized_run()
- 10 core/modules/system/system.module \system_authorized_run()
Setup and invoke an operation using authorize.php.
See also
Related topics
File
- core/
modules/ system/ system.module, line 537 - Configuration system that lets administrators modify the workings of the site.
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());
}