In @IdeatoSimplePagerBundle/Resources/config/services.xml
- Code: Select all
<parameters>
...
<parameter key="ideato.pager.max_per_page">4</parameter>
</parameters>
In @MyBundle/Resources/config/services.yml
- Code: Select all
parameters:
ideato:
pager.max_per_page: 20
The Ideato bundle doesn't have an Dependency Injection Extension so I included it as a resource at the top of my app/config/config.yml
- Code: Select all
imports:
- { resource: parameters.ini }
- { resource: security.yml }
pager_bundle:
resource: @IdeatoSimplePagerBundle/Resources/config/services.xml
I'm assuming it's something about the order in which the service is loaded and the parameter is defined, but I've tried a number of variations without success.
The best I've managed for now is modifying the services.xml in the vendor bundle itself, but that's not ideal.
Thanks in advance!
