You are here

public function MobileDetectDeviceType::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/MobileDetectDeviceType.php, line 51

Class

MobileDetectDeviceType
Provides a 'Device type' condition.

Namespace

Drupal\mobile_detect\Plugin\Condition

Code

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