block.xml 1.4 KB

123456789101112131415161718192021222324
  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.admin.block.admin_list" class="Sonata\AdminBundle\Block\AdminListBlockService">
  5. <tag name="sonata.block"/>
  6. <argument>sonata.admin.block.admin_list</argument>
  7. <argument type="service" id="templating"/>
  8. <argument type="service" id="sonata.admin.pool"/>
  9. </service>
  10. <service id="sonata.admin.block.search_result" class="Sonata\AdminBundle\Block\AdminSearchBlockService">
  11. <tag name="sonata.block"/>
  12. <argument>sonata.admin.block.search_result</argument>
  13. <argument type="service" id="templating"/>
  14. <argument type="service" id="sonata.admin.pool"/>
  15. <argument type="service" id="sonata.admin.search.handler"/>
  16. </service>
  17. <service id="sonata.admin.block.stats" class="Sonata\AdminBundle\Block\AdminStatsBlockService">
  18. <tag name="sonata.block"/>
  19. <argument>sonata.admin.block.stats</argument>
  20. <argument type="service" id="templating"/>
  21. <argument type="service" id="sonata.admin.pool"/>
  22. </service>
  23. </services>
  24. </container>