You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only comment, that hook and hookable are other way around.
--- (new Hookable('sylius_admin.book.show.content'))+++ (new Hook('sylius_admin.book.show.content'))--- ->withHook(+++ ->withHookable(--- (new TemplateHook('body', 'library/book/show/content/body.html.twig'))+++ (new HookableTemplate('body', 'library/book/show/content/body.html.twig'))
->withPriority(100)
)
Before
After
Going further on resource operation
Then we could go further and configure them on a specific resource operation.
Note: In userland, we do not need to configure a lot of Twig hooks for our custom operations.
The text was updated successfully, but these errors were encountered: