You are here

public function ContactForm::getRecipients in Drupal 10

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

Code

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