-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
enhancementNew feature or requestNew feature or requesttwig hooksIssues and Pull Requests related to Twig HooksIssues and Pull Requests related to Twig Hooks
Description
Currently we have to write hooks' names by hand (optionally with using a parent hook's name passed along with other data). The idea is to generate a hook name based on the template name.
@SyliusAdmin/Security/login.html.twig -> sylius_admin.security.login
@SyliusAdmin/CatalogPromotion/header.html.twig -> sylius_admin.catalog_promotion.header
some_template.html.twig -> <predefined_via_configuration_prefix, by default: app>.some_template
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttwig hooksIssues and Pull Requests related to Twig HooksIssues and Pull Requests related to Twig Hooks