You are here

public function UserProtectionBase::description in User protect 8

Returns the description of the protection.

Return value

string The user protection description.

Overrides UserProtectionInterface::description

File

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

Class

UserProtectionBase
Provides a base class for UserProtection plugins.

Namespace

Drupal\userprotect\Plugin\UserProtection

Code

public function description() {
  return $this->pluginDefinition['description'];
}