You are here

public function NodeTitle::defaultConfiguration in Freelinking 8.3

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FreelinkingPluginBase::defaultConfiguration

File

src/Plugin/freelinking/NodeTitle.php, line 83

Class

NodeTitle
Node Title freelinking plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

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