How to include twig file from module to theme?

द्वारा admin , 27 नवंबर, 2021

Open your theme twig file and include like below.

{% include "@module_name/module_twig_file" %}

 

example: {% include "@viven_core/navbar-info.html.twig" %}

सादा टेक्स्ट

  • No HTML tags allowed.
  • लाइन और पैराग्राफ स्वतः भंजन
  • Web page addresses and email addresses turn into links automatically.