You are here

function hosting_https_get_profiles in Aegir HTTPS 7.3

Return a list of profiles with HTTPS enabled platforms.

1 call to hosting_https_get_profiles()
hosting_https_hosting_site_options_alter in ./hosting_https.nodeapi.inc
Implements hook_hosting_site_options_alter().

File

./hosting_https.module, line 97
Hook implementations for the Hosting HTTPS module.

Code

function hosting_https_get_profiles() {
  $https_platforms = hosting_https_get_platforms();
  $https_profiles = array();
  foreach ($https_platforms as $nid) {
    $platform = node_load($nid);
    $https_profiles = array_merge($https_profiles, array_keys($platform->profiles));
  }
  return array_unique($https_profiles);
}