You are here

public function UserProtectionInterface::isEnabled in User protect 8

Returns if plugin is enabled.

Return value

bool TRUE if the plugin is enabled. FALSE otherwise.

1 method overrides UserProtectionInterface::isEnabled()
UserProtectionBase::isEnabled in src/Plugin/UserProtection/UserProtectionBase.php
Implements UserProtectionInterface::isEnabled().

File

src/Plugin/UserProtection/UserProtectionInterface.php, line 48

Class

UserProtectionInterface
Defines the interface for user protection plugins.

Namespace

Drupal\userprotect\Plugin\UserProtection

Code

public function isEnabled();