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