mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
ChillEntityRenderExtension: change the way the service in constructed by using tags
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user