public function WebformAccessGroup::setEmails in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_access/src/Entity/WebformAccessGroup.php \Drupal\webform_access\Entity\WebformAccessGroup::setEmails()
Set email addresses assigned to webform access group.
Parameters
array $emails: An array of email addresses .
Return value
$this
Overrides WebformAccessGroupInterface::setEmails
File
- modules/
webform_access/ src/ Entity/ WebformAccessGroup.php, line 198
Class
- WebformAccessGroup
- Defines the webform access group entity.
Namespace
Drupal\webform_access\EntityCode
public function setEmails(array $emails) {
$this->emails = $emails;
return $this;
}