create new field for TwingleProject url

This commit is contained in:
Marc Michalsky forumZFD 2021-02-10 18:03:08 +01:00
parent 4f87c65663
commit 7168b1a07b
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
4 changed files with 19 additions and 13 deletions

View file

@ -49,9 +49,9 @@ function _civicrm_api3_twingle_project_Create_spec(array &$spec) {
'api.required' => 0,
'description' => E::ts('Financial Target of a Project'),
];
$spec['page'] = [
'name' => 'page',
'title' => E::ts('Project Page'),
$spec['url'] = [
'name' => 'url',
'title' => E::ts('TwingleProject Page URL'),
'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0,
'description' => E::ts('The URL of the TwingleProject page'),