Commit 89937f80 authored by helmo's avatar helmo

Issue #2723075: Skip hidden D8 profiles

parent ee259046
......@@ -411,6 +411,12 @@ function _provision_find_profiles() {
continue;
}
$profile->info = Symfony\Component\Yaml\Yaml::parse($yaml_file);
// Skip hidden profiles.
if (isset($profile->info['hidden']) && $profile->info['hidden'] == 1) {
continue;
}
if (!empty($profile->info['name'])) {
$profile->name = $profile->info['name'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment