public function MobileDeviceDetectionConditionPlugin::defaultConfiguration in Mobile Device Detection 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Condition/MobileDeviceDetectionConditionPlugin.php \Drupal\mobile_device_detection\Plugin\Condition\MobileDeviceDetectionConditionPlugin::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ MobileDeviceDetectionConditionPlugin.php, line 41
Class
- MobileDeviceDetectionConditionPlugin
- This main class which add ability to determine device.
Namespace
Drupal\mobile_device_detection\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'devices' => [],
] + parent::defaultConfiguration();
}