SilverStripe\CMS\Controllers\CMSMain::getPageTypes
Returns a sorted array suitable for a dropdown with pagetypes and their translated name
Signature
protected function getPageTypes()
Returns
- array
protected function getPageTypes()