Groups
Groups
Sign in
Groups
Groups
Pebble Templating Engine
Conversations
Labels
About
Send feedback
Help
Context inside extension function.
22 views
Skip to first unread message
Lance White
unread,
Aug 9, 2017, 8:34:09 AM
8/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pebble Templating Engine
Hi,
Simple question (hopefully...)
Is it possible to access the context passed to evaluate inside an extension function that the evaluation calls?
Cheers
Lance
Takanori Momose
unread,
Aug 16, 2017, 8:36:57 AM
8/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pebble Templating Engine
plz see
http://www.mitchellbosecke.com/pebble/documentation/guide/extending-pebble#functions
_context
: An instance of
EvaluationContext
which can be used to retrieve the locale for example.
Takanori Momose
unread,
Aug 16, 2017, 8:46:52 AM
8/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pebble Templating Engine
and plz see too
http://www.mitchellbosecke.com/pebble/documentation/guide/extending-pebble#global-variables
Reply all
Reply to author
Forward
0 new messages