You are here

protected function EmailedExport::getEmailAddresses in Webform Scheduled Tasks 8.2

Get a list of email addresses configured for this plugin.

Return value

string[] A list of email addresses to send the content to.

1 call to EmailedExport::getEmailAddresses()
EmailedExport::emailRecipients in src/Plugin/WebformScheduledTasks/Task/EmailedExport.php
Email recipients of this task.

File

src/Plugin/WebformScheduledTasks/Task/EmailedExport.php, line 367

Class

EmailedExport
A task which emails an export of a list of webforms.

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\Task

Code

protected function getEmailAddresses() {
  return array_map('trim', explode(',', $this->configuration['email_addresses']));
}