ChillEntityRenderExtension: change the way the service in constructed by using tags

This commit is contained in:
nobohan
2022-02-16 15:23:32 +01:00
parent 50410d190f
commit 81b7b49170
5 changed files with 8 additions and 40 deletions

View File

@@ -25,6 +25,9 @@ class ChillPersonBundle extends Bundle
$container->getExtension('chill_main')
->addWidgetFactory(new PersonListWidgetFactory());
$container->registerForAutoconfiguration(PersonRenderInterface::class)
->addTag('chill.render_entity');
$container->addCompilerPass(new AccompanyingPeriodTimelineCompilerPass());
}
}