CONST DELETE_EVENTS = 1, PRINT_EVENTS = 2, EXPORT_EVENTS = 3, BATCH_EVENTS = 4, CANCEL_REGISTRATION = 5, EMAIL_CONTACTS = 6,
// Value for LABEL_CONTACTS is set to 16 in accordance with CRM_Contact_Task::LABEL_CONTACTS
SAVE_SEARCH = 13, SAVE_SEARCH_UPDATE = 14, PARTICIPANT_STATUS = 15,
- LABEL_CONTACTS = 16;
+ LABEL_CONTACTS = 16, GROUP_CONTACTS = 20;
/**
- * the task array
+ * The task array
*
* @var array
* @static
static $_tasks = NULL;
/**
- * the optional task array
+ * The optional task array
*
* @var array
* @static
'class' => 'CRM_Event_Form_Task_Badge',
'result' => FALSE,
),
+ 20 => array(
+ 'title' => ts('Add Contacts to Group'),
+ 'class' => 'CRM_Event_Form_Task_AddToGroup',
+ 'result' => FALSE,
+ ),
);
//CRM-4418, check for delete
}
/**
- * show tasks selectively based on the permission level
+ * Show tasks selectively based on the permission level
* of the user
*
* @param int $permission