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()
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);
}