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.