You are here

public function UserProtectionBase::getConfiguration in User protect 8

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

src/Plugin/UserProtection/UserProtectionBase.php, line 62

Class

UserProtectionBase
Provides a base class for UserProtection plugins.

Namespace

Drupal\userprotect\Plugin\UserProtection

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
    'provider' => $this->pluginDefinition['provider'],
    'status' => $this->status,
  ];
}