Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 21446

Use it for questions related to the Token module, or a similar form of token replacement system. Don't use it for authentication tokens.

10 votes
Accepted

Why are some place holders '@' and others '%'?

Have a look into the function definition of the format_string() function which is used by the t() function: Each type of placeholder has a way in which this function intrepretes it: @variable: Esca …
Neo's user avatar
  • 1,193
1 vote

I would like to be able to use some tokens like %post[key]used in webform, in my custum modu...

This funciton is responsible for replacement of webform tokens. you can use this funciton in your code, pass in the stuffs you want to replace and the node and submiccions object and have the value replaced …
Neo's user avatar
  • 1,193