(REF) Convert hidden function 'useRegion' to public 'fillDefaults'
authorTim Otten <totten@civicrm.org>
Fri, 2 Oct 2020 00:16:44 +0000 (17:16 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 2 Oct 2020 05:51:17 +0000 (22:51 -0700)
commit924d1dc88c0037a50ccb559f3af5a8449baca2e2
treec9ccbb97d055951e25bbba266861df35340f3a84
parent58c72a10da01d86f790a62c54976cbf8726117d0
(REF) Convert hidden function 'useRegion' to public 'fillDefaults'

This mostly affects a hypothetical bundle defined outside of core's `Common.php`:

* Before: You cannot re-use `useRegion()`. You'd have to write it again.

* After: You can re-use and/or override `fillDefaults()`.
CRM/Core/Resources/Bundle.php
CRM/Core/Resources/Common.php
tests/phpunit/CRM/Core/Resources/BundleTest.php