Part of meta-issue #1788918: [GTD] [META] Prepare for Twig main engine core inclusion until December 1

For now, let's leave all the variable names the same as they are - just to get things working. To do that, there are several good rules of thumb for renaming variables:

1) remove all dollar signs from the front of variables.
print $title; becomes {{ title }}

2) remove all square brackets and quotes (for arrays) and replace with a period.
print $content['links'] becomes {{ content.links }}

3) remove all arrows (for objects) and replace with a period.
print $node->nid; becomes {{ node.nid }}

Longer term, we do have a problem with inconsistencies of how variables are named.

Two problems we face are:

Comments

jenlampton’s picture

Issue summary: View changes

added link to other issue

jenlampton’s picture

Issue summary: View changes

formting cleanup

jenlampton’s picture

Issue summary: View changes

add link to attributes issue

jenlampton’s picture

Issue summary: View changes

added see, and P tags

jenlampton’s picture

Issue summary: View changes

added brs

bstoppel’s picture

Issue tags: +Twig

tagging

bstoppel’s picture

Issue summary: View changes

more brs

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.