interface RoleFirewallInterface in Restrict Login or Role Access by IP Address 8.4
Interface RoleFirewallInterface.
@package Drupal\restrict_by_ip
Hierarchy
- interface \Drupal\restrict_by_ip\RoleFirewallInterface
Expanded class hierarchy of RoleFirewallInterface
All classes that implement RoleFirewallInterface
1 file declares its use of RoleFirewallInterface
- AccountProxy.php in src/
Session/ AccountProxy.php - Contains \Drupal\restrict_by_ip\Session\AccountProxy.
File
- src/
RoleFirewallInterface.php, line 15 - Contains Drupal\restrict_by_ip\RoleFirewallInterface.
Namespace
Drupal\restrict_by_ipView source
interface RoleFirewallInterface {
/**
* Checks which roles should be removed based on IP whitelists.
*
* @return array
* Array of role IDs that should be removed from user.
*/
public function rolesToRemove();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RoleFirewallInterface:: |
public | function | Checks which roles should be removed based on IP whitelists. | 1 |