MessageForm::$entity
Same name in other branches
- 8.9.x core/modules/contact/src/MessageForm.php \Drupal\contact\MessageForm::entity
- 10 core/modules/contact/src/MessageForm.php \Drupal\contact\MessageForm::entity
- 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\contactCode
protected $entity;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.