public static function getInstallationTypes($include_hidden = FALSE) {
    $path = drupal_get_path('profile', 'openy');
    $installation_types = Yaml::decode(file_get_contents($path . '/openy.installation_types.yml'));

    foreach ($installation_types as $key => $installation_type) {
      if (!empty($installation_type['hidden']) && !$include_hidden) {
        unset($installation_types[$key]);
      }
    }

    return $installation_types;
  }
public static function getInstallationTypes($include_hidden = FALSE) {
    $path = drupal_get_path('profile', 'openy');
    $installation_types = Yaml::decode(file_get_contents($path . '/openy.installation_types.yml'));

    foreach ($installation_types as $key => $installation_type) {
      if (!empty($installation_type['hidden']) && !$include_hidden) {
        unset($installation_types[$key]);
      }
    }

    return $installation_types;
  }
public static function getInstallationTypes ( $ include_hidden = FALSE ) { $ path = drupal_get_path ( 'profile' , 'openy' ) ; $ installation_types = Yaml :: decode ( file_get_contents ( $ path . '/openy.installation_types.yml' ) ) ; foreach ( $ installation_types as $ key => $ installation_type ) { if ( ! empty ( $ installation_type [ 'hidden' ] ) && ! $ include_hidden ) { unset ( $ installation_types [ $ key ] ) ; } } return $ installation_types ; }
Loads available installation types.

@param bool $include_hidden

@return mixed
Loads available installation types .