Jump to content

Hook for a template rename


lloop
 Share

Recommended Posts

I found 'ProcessTemplate::executeRename' but that is called before the rename confirm.

'Pages::saveReady' seems a bit too generic for a template rename.

Is there something more like a 'templateRenamed'?

Link to comment
Share on other sites

That only partially true. ProcessTemplate::executeRename handles the whole rename process and is therefore called to generate the confirm form and to process it afterwards which should be what you want to hook. Pages::saveReady would not work as templates are not pages.

  • Like 1
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
 Share

×
×
  • Create New...