Skip to content

Commit

Permalink
Fix for recent YAML component versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Apr 17, 2021
1 parent e5be42a commit 8b5fcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/KaliopEzOptionFieldTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class KaliopEzOptionFieldTypeExtension extends Extension implements PrependExten
// @see https://doc.ez.no/display/EZP/Template+implementation
public function prepend(ContainerBuilder $container)
{
$config = Yaml::parse(__DIR__ . '/../Resources/config/ez_field_templates.yml');
$config = Yaml::parse(file_get_contents(__DIR__ . '/../Resources/config/ez_field_templates.yml'));
$container->prependExtensionConfig('ezpublish', $config);
}

Expand Down

0 comments on commit 8b5fcee

Please sign in to comment.