You are here

public function AutoBlockScheduler::defaultConfiguration in Auto Block Scheduler 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Condition/AutoBlockScheduler.php \Drupal\auto_block_scheduler\Plugin\Condition\AutoBlockScheduler::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/AutoBlockScheduler.php, line 84

Class

AutoBlockScheduler
Provides a 'AutoBlockScheduler ' condition.

Namespace

Drupal\auto_block_scheduler\Plugin\Condition

Code

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