public function Days::defaultConfiguration in Message 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
File
- src/
Plugin/ MessagePurge/ Days.php, line 95
Class
- Days
- Delete messages older than certain days.
Namespace
Drupal\message\Plugin\MessagePurgeCode
public function defaultConfiguration() {
return [
'days' => 30,
];
}