Any way to use $Configuration variables in locale.php $Definition assignments?
TL;DR: If I have
$Configuration['Garden']['Foo'] = 'Bar' in my config.php, and I want to set
$Definition['Something'] = 'Something Something Bar Something'in my locale.php, is there a way to make
Bar come from the
$Configuration setting rather than hardcoding it?
$Definition in my
conf/locale.php rather than editing stuff in
Ideally, I'd like to set this up with a configuration variable analogous to
$Configuration['Garden']['TermsOfService'] so I can keep my registration URLs in a single place - say,
But I haven't been able to figure out how I'd access such a variable in my
- The TOS configuration variable is included via %s; I can't use that without changing the view directly.
- This comment and the one below it imply I should be able to use something like , but I haven't been able to get that to work, and searching hasn't gotten me anywhere.