Text header block in content

Text header block in header CTA 4 breed TOP

Sonata Block Template

If you want to use the sonata.block.template block type, you need to create a template :
{# file: 'MyBundle:Block:my_block_feature_1.html.twig' #}
{% extends sonata_block.templates.block_base %}

{% block block %}
    <h3>The block title</h3>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vel turpis at lacus
        vehicula fringilla at eu lectus. Duis vitae arcu congue, porttitor nisi sit amet,
        mattis metus. Nunc mollis elit ut lectus cursus luctus. Aliquam eu magna sit amet
        massa volutpat auctor.
{% endblock %}
And then call it from a template with the sonata_block_render helper:
{{ sonata_block_render({ 'type': 'sonata.block.service.template' }, {
    'template': 'MyBundle:Block:my_block_feature_1.html.twig',
}) }}
Insert your custom content here
5 to 9 may 2019, mardavall hotel, New York

Change Your Mind
To Become Sucess

Buy Ticket
See you on