You are here

public function External::defaultConfiguration in Freelinking 4.0.x

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FreelinkingPluginBase::defaultConfiguration

1 call to External::defaultConfiguration()
DrupalOrg::defaultConfiguration in src/Plugin/freelinking/DrupalOrg.php
Gets default configuration for this plugin.
1 method overrides External::defaultConfiguration()
DrupalOrg::defaultConfiguration in src/Plugin/freelinking/DrupalOrg.php
Gets default configuration for this plugin.

File

src/Plugin/freelinking/External.php, line 72

Class

External
Freelinking external link plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

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