You are here

interface RestrictIpPermissionsInterface in Restrict IP 8

Same name and namespace in other branches
  1. 8.2 src/Access/RestrictIpPermissionsInterface.php \Drupal\restrict_ip\Access\RestrictIpPermissionsInterface
  2. 3.x src/Access/RestrictIpPermissionsInterface.php \Drupal\restrict_ip\Access\RestrictIpPermissionsInterface

Hierarchy

Expanded class hierarchy of RestrictIpPermissionsInterface

All classes that implement RestrictIpPermissionsInterface

File

src/Access/RestrictIpPermissionsInterface.php, line 5

Namespace

Drupal\restrict_ip\Access
View source
interface RestrictIpPermissionsInterface {

  /**
   * Creates an array of dynamic permissions for the Restrict IP module.
   *
   * @return array
   *   An array of permissions with a minimum of a title and description key for
   *   each permission.
   */
  public function permissions();

}

Members

Namesort descending Modifiers Type Description Overrides
RestrictIpPermissionsInterface::permissions public function * Creates an array of dynamic permissions for the Restrict IP module. * * 1