[REF] Code cleanup on location entities for the Contact Summary screen
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 18 Mar 2022 01:30:15 +0000 (14:30 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Apr 2022 03:35:30 +0000 (16:35 +1300)
commit70af0478251722f036da0a5d1435f4d383ecba4d
treec8883b15a30321e91f05e76b62b4d2baf2757ba0
parentb29749a290b0d5eb49bc48fb3715a4634c9a75c9
[REF] Code cleanup on location entities for the Contact Summary screen

This builds on https://github.com/civicrm/civicrm-core/pull/22966 to improve loading of location entities.

It addresses 2 problems
1) the code is really confusing - handling the loading in 2 places
2) not all keys are loaded - resulting in enotices at the tpl layer.

Note that address still seems kinda tricky so I haven't worked through
that in this PR.
CRM/Contact/Page/View/Summary.php