Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298850

Remove 'Theming information' feature from Views in favor of twig_debug

$
0
0

Updated: Comment #0

Problem/Motivation

When grepping to determine the scope of #2049207: [Follow up] Replace .tpl.php with .html.twig in documentation it was determined that the "Theming information" functionality in Views still refers to .tpl.php files and is broken.

Proposed resolution

Remove this functionality, twig_debug either already does or will soon replicate this functionality in HTML comments.

Remaining tasks

None

Steps to Reproduce

  1. Navigate to admin/structure/views/view/content
  2. Go to Advanced > Output: Templates
  3. Click on "Field Content: Node operations bulk form (ID: node_bulk_form):"
    views-theming-information

You should see the contents of the currently used template for rows. Currently this is empty.

User interface changes

The "Theming information" UI will look for .html.twig files instead of .tpl.php files.

Screen shots from #12
Before #9:
After #9:

API changes

n/a


Viewing all articles
Browse latest Browse all 298850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>