Add project identifier to TwingleProject.get and .getsingle specs
This commit is contained in:
parent
47e7d2a668
commit
73b92d0c0b
2 changed files with 14 additions and 0 deletions
|
@ -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'),
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue