public function ModerationDashboardAccess::defaultConfiguration in Moderation Dashboard 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Condition/ModerationDashboardAccess.php \Drupal\moderation_dashboard\Plugin\Condition\ModerationDashboardAccess::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ ModerationDashboardAccess.php, line 70
Class
- ModerationDashboardAccess
- Provides a 'Moderation Dashboard Access' condition.
Namespace
Drupal\moderation_dashboard\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'enable' => FALSE,
] + parent::defaultConfiguration();
}