You are here

function hook_apps_servers_info in Apps 7

Provides server information to the apps.

This hook is only called on the current profile.

Return value

array An array of associative server arrays.

1 invocation of hook_apps_servers_info()
apps_servers in ./apps.manifest.inc
Returns all app servers configured to work for the current site.

File

./apps.api.php, line 83
API documentation for the Apps module.

Code

function hook_apps_servers_info() {
  return array(
    'servername' => array(
      // The title to be used for the server.
      'title' => t('Store Title'),
      'description' => t('A description of the server and what apps it might have.'),
      // The location of the json manifest.
      'manifest' => 'http://apps.com/app/query',
    ),
  );
}