Twig in core - TODOs

You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

We still need a lot of help converting Drupal to Twig. The following is a list of areas where we could use your assistance RIGHT NOW. Please see the announcement on the Core group as well: http://groups.drupal.org/node/292068

There are usually folks around in the #drupal-twig IRC channel to help you get started.

Highest priority

1) Mega Patch benchmarking: https://drupal.org/node/1987510

2) Markup fighting and coding! https://drupal.org/node/1980004

3) Convert theme functions to TWIG: https://drupal.org/node/1757550

4) Process layer / RDF: Kill it with with fire: https://drupal.org/node/1843650

Lower Priority (but still important)

More documentation forthcoming!

Upcoming CodeSprint UA 2013

Comments

Is there a sample of anything

alexrayu's picture

Is there a sample of anything in core already using twig?

Almost

Files now named foo.html.twig

jenlampton's picture

That's actually a bad example, we aren't even naming our twig templates that way anymore. Check the sandbox for usage.

Convert Core Templates to Twig

steveoliver's picture

Alex-

Not yet. After working in the Twig sandbox, we're beginning to file issues against core now (see [meta] Convert core templates to Twig).

Ok I found some issues and

alexrayu's picture

Ok I found some issues and committed some small patches. Will now make a pause and see if that was all right. The #drupal-twig rooms at irc seems to be off. I am having an Twig_Error_Syntax: The function "theme" does not exist in "core/themes/stark/templates/theme.inc/table.html.twig" at line 72 in Twig_Node_Expression_Function->compile() (line 28 of E:\wamp\www\drupal_8_twig_sandbox\core\vendor\twig\twig\lib\Twig\Node\Expression\Function.php). and currently can't get hold on anybody for clarification. Will need to connect somehow.

Theme development

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week