You are here

public function UserProtectionBase::label in User protect 8

Returns the user protection label.

Return value

string The user protection label.

Overrides UserProtectionInterface::label

File

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

Class

UserProtectionBase
Provides a base class for UserProtection plugins.

Namespace

Drupal\userprotect\Plugin\UserProtection

Code

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