Drupal Bundle Classes - Improving Code Organization and Maintainability
Drupal Association via YouTube
Learn Python with Generative AI - Self Paced Online
2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how to leverage Drupal's bundle classes in this 12-minute intermediate-level talk from the Drupal Association. Discover how bundle classes define entity structure and behavior while improving code maintainability through object-oriented design principles. Explore techniques for centralizing entity-related code, reducing module coupling, and exposing functionality directly to Twig templates without preprocess layers. Master the implementation of PHP classes for entity bundles to enhance developer experience and code quality, building upon foundational knowledge of Drupal hooks, events, and Symfony concepts.
Syllabus
Drupal's Bundle Classes to Better Code
Taught by
Drupal Association