Migration::setPageType
Shorthand to make it easier to update the page type, since SilverStripe has a very specific method for accomplishing this.
Signature
public function setPageType(SiteTree
$page,
string
$pageType )
Parameters
$page
— SiteTree
$pageType
— string