Returns the flood instance.
\Drupal\Core\Flood\FloodInterface
public static function flood() { return static::getContainer()->get('flood'); }