interface PrefixFloodInterface
Same name in other branches
- 11.x core/lib/Drupal/Core/Flood/PrefixFloodInterface.php \Drupal\Core\Flood\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 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.