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
1 2 3 | public static function flood() { return static ::getContainer()->get( 'flood' ); } |
Please login to continue.