You are here

public function FloodUnblockManagerInterface::isBlocked in Flood control 2.0.x

Provides identifier's flood status.

Parameters

string $event: The flood event name.

string $identifier: The identifier: IP address and/or UID.

Return value

bool Whether the identifier is blocked.

1 method overrides FloodUnblockManagerInterface::isBlocked()
FloodUnblockManager::isBlocked in src/FloodUnblockManager.php
Provides identifier's flood status.

File

src/FloodUnblockManagerInterface.php, line 72

Class

FloodUnblockManagerInterface
Interface for FloodUnblockManager.

Namespace

Drupal\flood_control

Code

public function isBlocked($event, $identifier);