You are here

interface RoleFirewallInterface in Restrict Login or Role Access by IP Address 8.4

Interface RoleFirewallInterface.

@package Drupal\restrict_by_ip

Hierarchy

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_ip
View 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

Namesort descending Modifiers Type Description Overrides
RoleFirewallInterface::rolesToRemove public function Checks which roles should be removed based on IP whitelists. 1