You are here

public function ModuleEnabled::defaultConfiguration in Varbase Total Control Dashboard 8.6

Same name and namespace in other branches
  1. 8 src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::defaultConfiguration()
  2. 8.5 src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::defaultConfiguration()
  3. 9.0.x src/Plugin/Condition/ModuleEnabled.php \Drupal\varbase_total_control\Plugin\Condition\ModuleEnabled::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/ModuleEnabled.php, line 34

Class

ModuleEnabled
Provides a 'Module' condition.

Namespace

Drupal\varbase_total_control\Plugin\Condition

Code

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