@@ 399-402 (lines=4) @@ | ||
396 | try { |
|
397 | $data = Yaml::parse(file_get_contents($dir.$file)); |
|
398 | ||
399 | if (array_key_exists('kunstmaan_page_part', $data)) { |
|
400 | //Get rid of the bundle config lines |
|
401 | $data = array_values(array_values(array_values($data)[0])[0])[0]; |
|
402 | } |
|
403 | ||
404 | $info = [ |
|
405 | 'name' => $data['name'], |
|
@@ 937-940 (lines=4) @@ | ||
934 | try { |
|
935 | $data = Yaml::parse(file_get_contents($dir.$file)); |
|
936 | ||
937 | if (array_key_exists('kunstmaan_page_part', $data)) { |
|
938 | //Get rid of the bundle config lines |
|
939 | $data = array_values(array_values(array_values($data)[0])[0])[0]; |
|
940 | } |
|
941 | ||
942 | // Parse contexts |
|
943 | $contexts = []; |