seo_block.xml 1.6 KB

123456789101112131415161718192021222324252627
  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. <parameters>
  4. <parameter key="sonata.user.block.breadcrumb_index.class">Sonata\UserBundle\Block\Breadcrumb\UserIndexBreadcrumbBlockService</parameter>
  5. <parameter key="sonata.user.block.breadcrumb_profile.class">Sonata\UserBundle\Block\Breadcrumb\UserProfileBreadcrumbBlockService</parameter>
  6. </parameters>
  7. <services>
  8. <service id="sonata.user.block.breadcrumb_index" class="%sonata.user.block.breadcrumb_index.class%">
  9. <tag name="sonata.block"/>
  10. <tag name="sonata.breadcrumb"/>
  11. <argument>user_index</argument>
  12. <argument>sonata.user.block.breadcrumb_index</argument>
  13. <argument type="service" id="templating"/>
  14. <argument type="service" id="knp_menu.menu_provider"/>
  15. <argument type="service" id="knp_menu.factory"/>
  16. </service>
  17. <service id="sonata.user.block.breadcrumb_profile" class="%sonata.user.block.breadcrumb_profile.class%">
  18. <tag name="sonata.block"/>
  19. <tag name="sonata.breadcrumb"/>
  20. <argument>user_profile</argument>
  21. <argument>sonata.user.block.breadcrumb_profile</argument>
  22. <argument type="service" id="templating"/>
  23. <argument type="service" id="knp_menu.menu_provider"/>
  24. <argument type="service" id="knp_menu.factory"/>
  25. </service>
  26. </services>
  27. </container>