interface PrefixFloodInterface
Defines an interface for flood controllers that clear by identifier prefix.
Hierarchy
- interface \Drupal\Core\Flood\PrefixFloodInterface
Expanded class hierarchy of PrefixFloodInterface
All classes that implement PrefixFloodInterface
File
-
core/
lib/ Drupal/ Core/ Flood/ PrefixFloodInterface.php, line 8
Namespace
Drupal\Core\FloodView source
interface PrefixFloodInterface {
/**
* Makes the flood control mechanism forget an event by identifier prefix.
*
* @param string $name
* The name of an event.
* @param string $prefix
* The prefix of the identifier to be cleared.
*/
public function clearByPrefix(string $name, string $prefix) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
PrefixFloodInterface::clearByPrefix | public | function | Makes the flood control mechanism forget an event by identifier prefix. | 2 |