block.xml 1.0 KB

123456789101112131415161718
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  3. <services>
  4. <service id="sonata.user.block.menu" class="Sonata\UserBundle\Block\ProfileMenuBlockService">
  5. <tag name="sonata.block"/>
  6. <argument>sonata.user.block.menu</argument>
  7. <argument type="service" id="templating"/>
  8. <argument type="service" id="knp_menu.menu_provider"/>
  9. <argument type="service" id="sonata.user.profile.menu_builder"/>
  10. </service>
  11. <service id="sonata.user.block.account" class="Sonata\UserBundle\Block\AccountBlockService">
  12. <tag name="sonata.block"/>
  13. <argument>sonata.user.block.account</argument>
  14. <argument type="service" id="templating"/>
  15. <argument/>
  16. </service>
  17. </services>
  18. </container>