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\UserProtectionCode
public function label() {
return $this->pluginDefinition['label'];
}