My block is called "hero", on the front-end the class is block-bean-hero, what is the proper template file name for this block?

1 Answer 1


As I can infer from the class name, your module name is "bean", so the template name should be block--bean--hero.tpl.php. For more information you can check the Template (theme hook) suggestions documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.