Jump to content

How to add a code snippet in a controller function?


IeM

Recommended Posts

Hi,

Just wounding if a code snippet can be added to a controller class function without overriding the whole function?

 

Example:

I need to add a line of code after a New Customer object has been created and authenticated in AuthControllerCore->processSubmittLogin() 

 

I'm assuming that I have to copy the entire function to a Class override to do this but am not 100% sure and am hoping that there is another way without adding it to the actual core file its self.

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...