1 installer.browser.inc installer_browser_get_server()

Gets the server to use for fetching results.

The installer_browser_fetch_results($filters) call returns an array with the following keys:

Return value

Returns an array representing the active server with the following keys::

  • url: The absolute url to the server without query parameters.
  • name: A human-readable name for this server.

For example:

   array(
     "url" => "https://projects.backdropcms.org",
     "name" => "Backdrop",
   )
  

File

core/modules/installer/installer.browser.inc, line 283
Various functions that are required by the Installer browse pages.

Code

function installer_browser_get_server() {
  $server = config_get('installer.settings', 'installer_server');
  backdrop_alter('installer_server', $server);

  return $server;
}