You are here

public function PathAlias::defaultConfiguration in Freelinking 4.0.x

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FreelinkingPluginBase::defaultConfiguration

File

src/Plugin/freelinking/PathAlias.php, line 80

Class

PathAlias
Freelinking path plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

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