You are here

public function Quota::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/Quota.php, line 48

Class

Quota
Maximal (approximate) amount of messages.

Namespace

Drupal\message\Plugin\MessagePurge

Code

public function defaultConfiguration() {
  return [
    'quota' => 1000,
  ];
}