private function getPageTypeLabelMap()
    {
        $labelByIdentifier = [];

        $pageTypes = $this->pageTypeConfig->getPageTypes();
        foreach ($pageTypes as $identifier => $pageType) {
            $labelByIdentifier[$identifier] = $pageType['label'];
        }

        return $labelByIdentifier;
    }
private function getPageTypeLabelMap()
    {
        $labelByIdentifier = [];

        $pageTypes = $this->pageTypeConfig->getPageTypes();
        foreach ($pageTypes as $identifier => $pageType) {
            $labelByIdentifier[$identifier] = $pageType['label'];
        }

        return $labelByIdentifier;
    }
private function getPageTypeLabelMap ( ) { $ labelByIdentifier = [ ] ; $ pageTypes = $ this -> pageTypeConfig -> getPageTypes ( ) ; foreach ( $ pageTypes as $ identifier => $ pageType ) { $ labelByIdentifier [ $ identifier ] = $ pageType [ 'label' ] ; } return $ labelByIdentifier ; }
Return the array of page labels from layout indexed by handle names.

@return array
Return the array of page labels from layout indexed by handle names .