How to call Sonata block from template

Ok, Sonata Project has great docs if you want to learn how to create something. The problem is how to use created something!

SonataBlockBundle provides really great docs about creating blocks itself. But in this doc there is no word about how to call your beautiful first block! After digging the source code I found out how to do that:

{{ sonata_block_render({type: ''}) }}
Alex Panshin avatar
About Alex Panshin
Software Engineer from Russia. Interested in PHP, Scala, microservices and Big/Fast Data stuff.
comments powered by HyperComments