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)
- Trans block (assigned to geoffryr)
- Convert form tables to #type table
- Render API
- Make sure themes can support core bundles so themers don't need to create a module too
- css classes even/odd (JohnAlbin)
- TwigNodeVisitor / patch cleanup
- TestFeatures patch needs doc update
- Reroll Autoescape patch
- Close preprocess function bug issue: newPreprocessRegistry
- Twig extension in theme
- Consolidate
- hook_theme_suggestions_alter()
hook_theme_suggestions_themeID_alter()
More documentation forthcoming!
Comments
Is there a sample of anything
Is there a sample of anything in core already using twig?
Almost
This
http://drupalcode.org/project/drupal.git/blob/refs/heads/8.x:/core/modul...
is in core, but not actually 'used'.
Files now named foo.html.twig
That's actually a bad example, we aren't even naming our twig templates that way anymore. Check the sandbox for usage.
http://www.jenlampton.com | http://twitter.com/jenlampton | http://certifiedtorock.com/u/85586
Convert Core Templates to Twig
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).
Steve Oliver
Ok I found some issues and
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.