You are here

public function UserProtectionInterface::getWeight in User protect 8

Returns the weight of the user protection.

Return value

int The protections' weight.

1 method overrides UserProtectionInterface::getWeight()
UserProtectionBase::getWeight in src/Plugin/UserProtection/UserProtectionBase.php
Returns the weight of the user protection.

File

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

Class

UserProtectionInterface
Defines the interface for user protection plugins.

Namespace

Drupal\userprotect\Plugin\UserProtection

Code

public function getWeight();