You are here

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

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

Class

ModerationDashboardAccess
Provides a 'Moderation Dashboard Access' condition.

Namespace

Drupal\moderation_dashboard\Plugin\Condition

Code

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