MessageForm::$entity

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

The message being used by this form.

Type: \Drupal\contact\MessageInterface

Overrides ContentEntityForm::$entity

File

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

Class

MessageForm
Form controller for contact message forms.

Namespace

Drupal\contact

Code

protected $entity;

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