public function UserCountry::defaultConfiguration in Smart IP 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/Condition/UserCountry.php \Drupal\smart_ip\Plugin\Condition\UserCountry::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ UserCountry.php, line 56 - Contains \Drupal\smart_ip\Plugin\Condition\UserCountry.
Class
- UserCountry
- Provides 'Countries' condition.
Namespace
Drupal\smart_ip\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'countries' => [],
] + parent::defaultConfiguration();
}