You are here

public function MatcherBase::defaultConfiguration in Linkit 8.5

Same name and namespace in other branches
  1. 8.4 src/MatcherBase.php \Drupal\linkit\MatcherBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to MatcherBase::defaultConfiguration()
ConfigurableDummyMatcher::defaultConfiguration in tests/linkit_test/src/Plugin/Linkit/Matcher/ConfigurableDummyMatcher.php
Gets default configuration for this plugin.
EntityMatcher::defaultConfiguration in src/Plugin/Linkit/Matcher/EntityMatcher.php
Gets default configuration for this plugin.
MatcherBase::setConfiguration in src/MatcherBase.php
Sets the configuration for this plugin instance.
2 methods override MatcherBase::defaultConfiguration()
ConfigurableDummyMatcher::defaultConfiguration in tests/linkit_test/src/Plugin/Linkit/Matcher/ConfigurableDummyMatcher.php
Gets default configuration for this plugin.
EntityMatcher::defaultConfiguration in src/Plugin/Linkit/Matcher/EntityMatcher.php
Gets default configuration for this plugin.

File

src/MatcherBase.php, line 115

Class

MatcherBase
Provides a base class for matchers.

Namespace

Drupal\linkit

Code

public function defaultConfiguration() {
  return [];
}