Use case for 'page.create' event
I was wondering what the appropriate use for the
page.create event is? It doesn't appear to fire when creating a new page using the 'Add Page' or 'Add New Subpage' controls. I can only find one reference to it in Core and the comment suggests it only fires when using the upgrade app?
/** * Find a page based on its path, or create a new one. Used by the Upgrade app. * @param string $path A root-relative site path * @return object Instance of Page class. */
on line 18-23 of PerchContent_Pages.class.php.
I'm trying to figure out a way of modifying page attributes on page creating using events, is this the right event to be listening out for or is there a more suitable one for the task?