D7 Variable with placeholder

I am implementing a couple of translatable variables that are exposed via hook_variable_info

I am wondering if (and how) i can use placeholders in these variables and process them to replace with the actual values.

As an example:

I have a variable that holds some informational text that will be shown on a page that has a registration form below.

This would look something like this

Please signup here to gain access to the restricted area for @yourcompany

I have been googling around for this, but cannot seem to find any good leads on how to do this (if at all possible?)

Many thanks in advance!


Category: 7 Time: 2016-07-29 Views: 4

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.139 (s). 13 q(s)