Add project identifier to TwingleProject.get and .getsingle specs

This commit is contained in:
Marc Michalsky forumZFD 2021-02-19 16:11:56 +01:00
parent 47e7d2a668
commit 73b92d0c0b
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
2 changed files with 14 additions and 0 deletions

View file

@ -48,6 +48,13 @@ function _civicrm_api3_twingle_project_Get_spec(array &$spec) {
'api.required' => 0, 'api.required' => 0,
'description' => E::ts('Twingle ID for this project'), 'description' => E::ts('Twingle ID for this project'),
]; ];
$spec['identifier'] = [
'name' => 'identifier',
'title' => E::ts('Twingle Project Identifier'),
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0,
'description' => E::ts('Twingle Project Identifier'),
];
$spec['last_modified_id'] = [ $spec['last_modified_id'] = [
'name' => 'last_modified_id', 'name' => 'last_modified_id',
'title' => E::ts('Campaign Modified By'), 'title' => E::ts('Campaign Modified By'),

View file

@ -46,6 +46,13 @@ function _civicrm_api3_twingle_project_Getsingle_spec(array &$spec) {
'api.required' => 0, 'api.required' => 0,
'description' => E::ts('Twingle ID for this project'), 'description' => E::ts('Twingle ID for this project'),
]; ];
$spec['identifier'] = [
'name' => 'identifier',
'title' => E::ts('Twingle Project Identifier'),
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0,
'description' => E::ts('Twingle Project Identifier'),
];
$spec['last_modified_id'] = [ $spec['last_modified_id'] = [
'name' => 'last_modified_id', 'name' => 'last_modified_id',
'title' => E::ts('Campaign Modified By'), 'title' => E::ts('Campaign Modified By'),