MultisitesSiteTreeExtension::updateSiteID
Recursively update the site ID for this page and all child pages. This writes decendents to the database, but does not write the current page as it is called from {@link onBeforeWrite}
Signature
public function updateSiteID(int
$new )
Parameters
$new
— int- The new SiteID
Line | Task |
---|---|
103+ | This will mark all child pages as modified. Should it write directly to the database to avoid the publishing workflow? |