Reference token metadata internally
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Oct 2021 19:30:47 +0000 (08:30 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Oct 2021 22:46:47 +0000 (11:46 +1300)
commitcc17ec917695204b635428333fab075c9c4464fc
tree0324565ec242c81b61471648575726d1c1ede54a
parentbb6fc750f0471fa621d170f31cce387ca6152060
Reference token metadata internally

This references the token metadata rather than the metadata retrieved from the api
call. Since the former is cached it should save a look up -
albeit not when prefetch is happening, at this stage
CRM/Core/EntityTokens.php
CRM/Event/Tokens.php