Last active
July 3, 2018 11:35
-
-
Save KaiCMueller/b13fdd5ba83ae5e2ace4d0e10dd029aa to your computer and use it in GitHub Desktop.
Extending the EasyAdmin core template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# this template is located in templates/bundles/EasyAdminBundle/default/layout.html.twig #} | |
{# pay attention to the "!" in front of the bundle name which tells symfony to use the core template #} | |
{% extends '@!EasyAdmin/default/layout.html.twig' %} | |
{% block head_javascript %} | |
{{ parent() }} | |
{% block application_javascript %}{% endblock application_javascript %} | |
{% endblock head_javascript %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The use of the exclamation mark syntax was introduced in Symfony 3.4