public ContactForm::setRecipients($recipients)
Sets list of recipient email addresses.
Parameters
array $recipients: The desired list of email addresses of this category.
Return value
$this
Overrides ContactFormInterface::setRecipients
File
- core/modules/contact/src/Entity/ContactForm.php, line 124
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\Entity
Code
public function setRecipients($recipients) { $this->recipients = $recipients; return $this; }
Please login to continue.