API page: https://api.drupal.org/api/drupal/modules!node!node.tpl.php/7

This variable is not documented:

  <div class="content"<?php print $content_attributes; ?>>

I'm not sure anything gets put in it by core though...

Comments

laughnan’s picture

Yes, doesn't seem like core is placing any values into the $content_attributes (from what I could see in node.module).

jhodgdon’s picture

Version: 7.x-dev » 8.0.x-dev
Issue tags: +Needs backport to D7

Should be fixed on Drupal 8 node.html.twig first, and yes I think it should be documented since it is in the template.

Note that the Bartik copies of these templates unfortunately duplicate the documentation.

David Hernández’s picture

Assigned: Unassigned » David Hernández
Issue tags: +Amsterdam2014

Working on it.

David Hernández’s picture

Status: Active » Closed (duplicate)

I'm closing this issue, marking it as duplicated, there is other issue where this is being handled: https://www.drupal.org/node/569362

David Hernández’s picture

I'm closing this issue, marking it as duplicated, there is other issue where this is being handled: https://www.drupal.org/node/569362