add a widget to display a person list on homepage

This commit is contained in:
2016-09-18 23:57:32 +02:00
parent 52fb5f56be
commit 2f5efd50e8
7 changed files with 271 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
services:
chill_person.widget.person_list:
class: Chill\PersonBundle\Widget\PersonListWidget
arguments:
- "@chill.person.repository.person"
- "@chill.main.security.authorization.helper"
- "@security.token_storage"
# this widget is defined by the PersonListWidgetFactory
chill_person.widget.add_person:
class: Chill\PersonBundle\Widget\AddPersonWidget
tags:
- { name: chill_widget, alias: add_person, place: homepage }