You are here

public function MobileDetectPlatform::defaultConfiguration in Mobile Detect 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/MobileDetectPlatform.php, line 51

Class

MobileDetectPlatform
Provides the 'Device platform' condition.

Namespace

Drupal\mobile_detect\Plugin\Condition

Code

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