예제 #1
0
 /**
  * Implements Drupal\Core\Flood\FloodInterface::clear().
  *
  * Makes the flood control mechanism forget an event for the current visitor.
  *
  * @param $name
  *   The name of an event.
  * @param $identifier
  *   Optional identifier (defaults to the current user's IP address).
  */
 public function clear($name, $identifier = NULL)
 {
     $this->drupal7->flood_clear_event($name, $identifier);
 }