You are here

public function MatcherBase::getConfiguration in Linkit 8.4

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

File

src/MatcherBase.php, line 81
Contains \Drupal\linkit\MatcherBase.

Class

MatcherBase
Provides a base class for matchers.

Namespace

Drupal\linkit

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->getPluginId(),
    'weight' => $this
      ->getWeight(),
    'settings' => $this->configuration,
  ];
}