protected property MessageForm::$entity in Drupal 9
Same name and namespace in other branches
- 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\contactCode
protected $entity;