Hello.
I use this module to output the name of the city accordingly to the currently chosen domain (used Domain Access module) on multi domain site.
Example:
$active_id = \Drupal::service('domain.negotiator')->getActiveId();
if ($active_id == "toronto") { $basic_token = 'Toronto'; return $basic_token; }
Now after inserting it to the text field i have output of this token as a link:
<a href="javascript:void(0);" title="Insert this token into your form">Toronto</a>
How to output the plain text (without link)? Any ideas?
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.