Towards CRM-21140, support at api level for custom data on any entity.
authoreileen <emcnaughton@wikimedia.org>
Mon, 22 Jan 2018 03:19:21 +0000 (16:19 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 22 Jan 2018 03:21:45 +0000 (16:21 +1300)
commit3fb8828b28c6c45895f34d744a913e9743305593
treef2efc00ff0fd4872b91f1db99006298307a82f00
parentfe67545721a7ee4cf70debdc0e9cbab3e13102c7
Towards CRM-21140, support at api level for custom data on any entity.

This extends the ability to support additional entities for custom data by
adding them to the OptionGroup 'cg_extends'. At this stage there
are 2 additional tested (supported) entities - UFGroup, PriceSet, PaymentToken.

Will add more next iteration
api/v3/utils.php
tests/phpunit/api/v3/SyntaxConformanceTest.php