MessageForm::$flood

Same name in other branches
  1. 9 core/modules/contact/src/MessageForm.php \Drupal\contact\MessageForm::flood
  2. 8.9.x core/modules/contact/src/MessageForm.php \Drupal\contact\MessageForm::flood
  3. 11.x core/modules/contact/src/MessageForm.php \Drupal\contact\MessageForm::flood

The flood control mechanism.

Type: \Drupal\Core\Flood\FloodInterface

File

core/modules/contact/src/MessageForm.php, line 34

Class

MessageForm
Form controller for contact message forms.

Namespace

Drupal\contact

Code

protected $flood;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.