You are here

public function BackendBase::defaultConfiguration in Advanced Queue 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to BackendBase::defaultConfiguration()
BackendBase::setConfiguration in src/Plugin/AdvancedQueue/Backend/BackendBase.php
Sets the configuration for this plugin instance.

File

src/Plugin/AdvancedQueue/Backend/BackendBase.php, line 90

Class

BackendBase
Provides the base class for queue backends.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\Backend

Code

public function defaultConfiguration() {
  return [
    'lease_time' => 300,
  ];
}