function system_authorized_get_url

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 system.module system_authorized_get_url(array $options = array())
cle7 system.module system_authorized_get_url(array $options = array())
elmsmedia7 system.module system_authorized_get_url(array $options = array())
icor7 system.module system_authorized_get_url(array $options = array())
meedjum_blog7 system.module system_authorized_get_url(array $options = array())
mooc7 system.module system_authorized_get_url(array $options = array())

Return the URL for the authorize.php script.

Parameters

array $options: Optional array of options to pass to url().

Return value

The full URL to authorize.php, using HTTPS if available.

See also

system_authorized_init()

Related topics

6 calls to system_authorized_get_url()
overlay_drupal_goto_alter in modules/overlay/overlay.module
Implements hook_drupal_goto_alter().
system_authorized_batch_process in modules/system/system.module
Use authorize.php to run batch_process().
system_authorized_batch_processing_url in modules/system/system.module
Returns the URL for the authorize.php script when it is processing a batch.
system_authorized_run in modules/system/system.module
Setup and invoke an operation using authorize.php.
update_manager_install_form_submit in modules/update/update.manager.inc
Form submission handler for update_manager_install_form().

... See full list

File

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

Code

function system_authorized_get_url(array $options = array()) {
  global $base_url;
  // Force HTTPS if available, regardless of what the caller specifies.
  $options['https'] = TRUE;
  // We prefix with $base_url so we get a full path even if clean URLs are
  // disabled.
  return url($base_url . '/authorize.php', $options);
}