public function BillingCountryCondition::__construct in Ubercart 8.4
Constructs a BillingCountryCondition object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\uc_country\CountryManagerInterface $countryManager: The core country_manager service.
Overrides ConditionPluginBase::__construct
File
- uc_order/
src/ Plugin/ Condition/ BillingCountryCondition.php, line 60
Class
- BillingCountryCondition
- Provides an 'Order billing country' condition.
Namespace
Drupal\uc_order\Plugin\ConditionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CountryManagerInterface $countryManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->countryManager = $countryManager;
}