You are here

public function WebformAccessGroup::setEmails in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\Entity

Code

public function setEmails(array $emails) {
  $this->emails = $emails;
  return $this;
}