You are here

public function UserCountry::defaultConfiguration in Smart IP 8.4

Same name and namespace in other branches
  1. 8.3 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\Condition

Code

public function defaultConfiguration() {
  return [
    'countries' => [],
  ] + parent::defaultConfiguration();
}