public function UserProtectionInterface::label in User protect 8
Returns the user protection label.
Return value
string The user protection label.
1 method overrides UserProtectionInterface::label()
- UserProtectionBase::label in src/
Plugin/ UserProtection/ UserProtectionBase.php - Returns the user protection label.
File
- src/
Plugin/ UserProtection/ UserProtectionInterface.php, line 23
Class
- UserProtectionInterface
- Defines the interface for user protection plugins.
Namespace
Drupal\userprotect\Plugin\UserProtectionCode
public function label();