[REF] Use Token Processor to generate sort name and display name for individuals
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 2 Feb 2023 00:42:21 +0000 (11:42 +1100)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 1 Dec 2023 03:32:24 +0000 (16:32 +1300)
commita43a59d788de7a35951879999505460422cd5559
tree7a3b2b851ab8597506577dabfbd254f4dd7db2f6
parentc901bfa634846628be73921240782c0840c02107
[REF] Use Token Processor to generate sort name and display name for individuals

Fix handling for when certain things should only show if there tokens filled out

Handle for when the nameFormat is null (import tests)
CRM/Contact/BAO/Individual.php
Civi/Token/TokenCompatSubscriber.php
tests/phpunit/CRM/Contact/BAO/IndividualTest.php
tests/phpunit/CRM/Utils/TokenConsistencyTest.php