function MessageInterface::getContactForm
Same name in other branches
- 8.9.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::getContactForm()
- 10 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::getContactForm()
- 11.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::getContactForm()
Returns the form this contact message belongs to.
Return value
\Drupal\contact\ContactFormInterface The contact form entity.
1 method overrides MessageInterface::getContactForm()
- Message::getContactForm in core/
modules/ contact/ src/ Entity/ Message.php - Returns the form this contact message belongs to.
File
-
core/
modules/ contact/ src/ MessageInterface.php, line 18
Class
- MessageInterface
- Provides an interface defining a contact message entity.
Namespace
Drupal\contactCode
public function getContactForm();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.