You are here

public function PathAlias::defaultConfiguration in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x 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',
    ],
  ];
}