Drupal 8/9 Create custom twig templates for custom module

step 1: Define hook_theme() function in .module file.
step 2: Create Twig Template inside of the templates folder.
step 3: Call the Template from controller.
copy-icon
copy-icon
copy-icon

Comments

Authors

Read Next