You are here

public function ContactForm::getRecipients in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getRecipients()
  2. 10 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 124

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function getRecipients() {
  return $this->recipients;
}