You are here

public function Search::defaultConfiguration in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/freelinking/Search.php \Drupal\freelinking\Plugin\freelinking\Search::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FreelinkingPluginBase::defaultConfiguration

File

src/Plugin/freelinking/Search.php, line 64

Class

Search
Freelinking search plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'settings' => [
      'failover' => 'error',
    ],
  ];
}