public function AutoBlockScheduler::defaultConfiguration in Auto Block Scheduler 8
Same name and namespace in other branches
- 8.2 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 109 - Contains \Drupal\block_scheduler\Plugin\Condition\Expiry.
Class
- AutoBlockScheduler
- Provides a 'AutoBlockScheduler ' condition.
Namespace
Drupal\auto_block_scheduler\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'published_on' => '',
'unpublished_on' => '',
] + parent::defaultConfiguration();
}