public function getCountryPlugins()
{
$countryPlugins = Core::$countryPlugins;
$whitelistedCountryPlugins = array();
foreach ($countryPlugins as $countryPlugin) {
if (in_array($countryPlugin->getFolder(), $this->selectedCountries)) {
$whitelistedCountryPlugins[] = $countryPlugin;
}
}
return $whitelistedCountryPlugins;
}