/**
  * Get country list
  *
  * @return array
  */
 protected function getCountryList()
 {
     // It seems odd to check the parameters directly, but it's the same pattern being used in Magento_Backend
     if ($this->request->getParam('store')) {
         $scopeId = $this->request->getParam('store');
         $scopeType = \Magento\Store\Model\ScopeInterface::SCOPE_STORE;
     } elseif ($this->request->getParam('website')) {
         $scopeId = $this->request->getParam('website');
         $scopeType = \Magento\Store\Model\ScopeInterface::SCOPE_WEBSITE;
     } elseif ($this->request->getParam('group')) {
         $scopeId = $this->request->getParam('website');
         $scopeType = \Magento\Store\Model\ScopeInterface::SCOPE_WEBSITE;
     } else {
         $scopeId = $this->storeManager->getDefaultStoreView();
         $scopeType = \Magento\Store\Model\ScopeInterface::SCOPE_STORE;
     }
     return explode(',', $this->config->getTaxCalculationCountriesEnabled($scopeId, $scopeType));
 }