public static Drupal::flood()
Returns the flood instance.
Return value
\Drupal\Core\Flood\FloodInterface
File
- core/lib/Drupal.php, line 461
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function flood() { return static::getContainer()->get('flood'); }
Please login to continue.