You are here

public function HasModeratedContentType::defaultConfiguration in Moderation Dashboard 2.0.x

Same name and namespace in other branches
  1. 8 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\Condition

Code

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