Bundle Class View Builder
This module allows you to bypass Drupal's default entity rendering to gain full control over how entities are displayed, especially useful for content types like Paragraphs, Media, or Block content where you want specific theming. It works in conjunction with other modules to enable attribute-based discovery and object-oriented theming for your entities.
BCVB provides a simple way to bypass Drupal core's normal entity rendering, giving developers full control to render an entity via its bundle class.
This is perfect for entity types such as Paragraphs, Media, Block content, etc, where often core's Field UI and manage display setup can get in the way of theming an entity exactly how you want.
Recommended modules
- The BCA module provides attribute based discovery for Bundle classes
- The Pinto module provides Object Oriented based theming, allowing bundle classes to directly render a theme object from their build
Check out the blog post on Pinto for more information.