Skip to content

Commit cdafb32

Browse files
longwavemglaman
andauthored
Allow services.yml to contain custom tags (#743)
Co-authored-by: Matt Glaman <[email protected]>
1 parent 5a01ff1 commit cdafb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drupal/DrupalAutoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function register(Container $container): void
182182
}
183183

184184
foreach ($this->serviceYamls as $extension => $serviceYaml) {
185-
$yaml = Yaml::parseFile($serviceYaml);
185+
$yaml = Yaml::parseFile($serviceYaml, Yaml::PARSE_CUSTOM_TAGS);
186186
// Weed out service files which only provide parameters.
187187
if (!isset($yaml['services']) || !is_array($yaml['services'])) {
188188
continue;

0 commit comments

Comments
 (0)