You are here

protected property MessageForm::$entity in Drupal 9

Same name and namespace in other branches
  1. 8 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;