add project_id as parameter to TwingleEvent.sync

This commit is contained in:
Marc Michalsky forumZFD 2021-02-09 16:40:39 +01:00
parent 2533c97f4c
commit 0cb1d1c925
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -27,6 +27,13 @@ function _civicrm_api3_twingle_event_Sync_spec(array &$spec) {
'api.required' => 0, 'api.required' => 0,
'description' => E::ts('Twingle ID for this Event'), 'description' => E::ts('Twingle ID for this Event'),
]; ];
$spec['project_id'] = [
'name' => 'project_id',
'title' => E::ts('Twingle Project ID'),
'type' => CRM_Utils_Type::T_INT,
'api.required' => 0,
'description' => E::ts('Twingle ID for this project'),
];
$spec['is_test'] = [ $spec['is_test'] = [
'name' => 'is_test', 'name' => 'is_test',
'title' => E::ts('Test'), 'title' => E::ts('Test'),