public function ContactForm::getRecipients in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getRecipients()
- 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getRecipients()
Returns list of recipient email addresses.
Return value
array List of recipient email addresses.
Overrides ContactFormInterface::getRecipients
File
- core/
modules/ contact/ src/ Entity/ ContactForm.php, line 128
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\EntityCode
public function getRecipients() {
return $this->recipients;
}