Yes, and I don't know a good solution currently. Doing DI in combination with configuration for the ActionBlock only could solve this, will try it. Maybe this should be solved more generic in the SonataBlockBundle.