Add entity paths to schema & APIv4
authorColeman Watts <coleman@civicrm.org>
Fri, 30 Oct 2020 18:32:03 +0000 (14:32 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 30 Oct 2020 18:32:03 +0000 (14:32 -0400)
commita7bd99ff1898ab91912cc446e35aa23d46f4d2cd
treeb5726a6d9b94ec8944455741b308c9758f1733d2
parenta61fabf2715f78ddab22096ce34e5cc4c96cb0f9
Add entity paths to schema & APIv4

Entity paths can be used to construct a url to create/view/edit/update a given entity.
The paths are local and contain tokens which would need to be replace, e.g. [id] or [contact_id].
The token name corresponds to the field name whos value is requred.
20 files changed:
CRM/Activity/DAO/Activity.php
CRM/Contact/DAO/Contact.php
CRM/Contact/DAO/Group.php
CRM/Contribute/DAO/Contribution.php
CRM/Core/CodeGen/Specification.php
CRM/Core/DAO.php
CRM/Event/DAO/Event.php
CRM/Grant/DAO/Grant.php
CRM/Member/DAO/Membership.php
Civi/Api4/Entity.php
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Generic/DAOEntity.php
xml/schema/Activity/Activity.xml
xml/schema/Contact/Contact.xml
xml/schema/Contact/Group.xml
xml/schema/Contribute/Contribution.xml
xml/schema/Event/Event.xml
xml/schema/Grant/Grant.xml
xml/schema/Member/Membership.xml
xml/templates/dao.tpl