Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PrefixFloodInterface.php

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

1 file declares its use of PrefixFloodInterface
User.php in core/modules/user/src/Entity/User.php

File

core/lib/Drupal/Core/Flood/PrefixFloodInterface.php, line 8

Namespace

Drupal\Core\Flood
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal