Drupal 7 Paragraph Bundle Template Suggestions

A reminder that if you’re creating custom .tpl files (for, say, a paragraph bundle) then enabling theme debugging in your settings.php file can be helpful:

$conf['theme_debug'] = TRUE;

Which would expose HTML comments that detail template file suggestions:

<!-- FILE NAME SUGGESTIONS:
* paragraphs-item-1366.tpl.php
* paragraphs-item-callout-block-full.tpl.php
x paragraphs-item-callout-block.tpl.php
* paragraphs-item.tpl.php
* entity.tpl.php
-->

Where the form is paragraphs-item-- paragraph machine (bundle) name -- view mode .tpl.php

This is your reminder that The Themery’s chapters on theming from The Definitive Guide to Drupal 7 are worth bookmarking.