public function get_all_block_regions() {
        $regions = array();
        foreach ($this->layouts as $layoutinfo) {
            foreach ($layoutinfo['regions'] as $region) {
                $regions[$region] = $this->get_region_name($region, $this->name);
            }
        }
        return $regions;
    }
public function get_all_block_regions() {
        $regions = array();
        foreach ($this->layouts as $layoutinfo) {
            foreach ($layoutinfo['regions'] as $region) {
                $regions[$region] = $this->get_region_name($region, $this->name);
            }
        }
        return $regions;
    }
public function get_all_block_regions ( ) { $ regions = array ( ) ; foreach ( $ this -> layouts as $ layoutinfo ) { foreach ( $ layoutinfo [ 'regions' ] as $ region ) { $ regions [ $ region ] = $ this -> get_region_name ( $ region , $ this -> name ) ; } } return $ regions ; }
Get the list of all block regions known to this theme in all templates.

@return array internal region name => human readable name.
Get the list of all block regions known to this theme in all templates .