Closed kokoyroy closed 2 years ago
hey @kokoyroy on which page do you mean?
https://developers.shopware.com/developers-guide/plugin-quick-start/#subscriber-classes
in the descrioption under the code block
then this would be the file to edit: https://github.com/shopware/devdocs/blob/master/source/developers-guide/plugin-quick-start/index.md#subscriber-classes
maybe you like to create a PR? :blush:
what is the pr? i am noob :P
you are able to make change suggestions to the documentation code itself :blush: this is called a Pull Request (PR)
As defined in getSubscribedEvents the callback is called onFrontendPostDispatch. It takes an Enlight_Controller_ActionEventArgs object as parameter, which holds context about the event - in this case the context of the controller that has been executed.
onFrontendPostDispatch has to be onPostDispatch as in code above