Merge pull request #16899 from mlutfy/mailingReportView
[civicrm-core.git] / CRM / Event / Form / Task / Email.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17
18 /**
19 * This class provides the functionality to email a group of
20 * contacts.
21 */
22 class CRM_Event_Form_Task_Email extends CRM_Event_Form_Task {
23 use CRM_Contact_Form_Task_EmailTrait;
24
25 /**
26 * List available tokens for this form.
27 *
28 * @return array
29 */
30 public function listTokens() {
31 $tokens = CRM_Core_SelectValues::contactTokens();
32 return $tokens;
33 }
34
35 }