protected function _getRegion()
    {
        if (isset($this->_matchingData['BlockRegions'])) {
            return $this->_matchingData['BlockRegions'];
        }

        if (isset($this->_properties['region'])) {
            return $this->_properties['region'];
        }
    }
protected function _getRegion()
    {
        if (isset($this->_matchingData['BlockRegions'])) {
            return $this->_matchingData['BlockRegions'];
        }

        if (isset($this->_properties['region'])) {
            return $this->_properties['region'];
        }
    }
protected function _getRegion ( ) { if ( isset ( $ this -> _matchingData [ 'BlockRegions' ] ) ) { return $ this -> _matchingData [ 'BlockRegions' ] ; } if ( isset ( $ this -> _properties [ 'region' ] ) ) { return $ this -> _properties [ 'region' ] ; } }
Tries to get block's region.

This method is used when finding blocks matching a particular region.

@return \Block\Model\Entity\BlockRegion
Tries to get block s region .