#ThemingWithPinto
Describing PreviousNext theme objects: 1. a framework for Object Oriented Theming. 2. Auto converts Theme Objects (PHP classes) into Drupal theme definitions and render arrays. 3. Developers interact with PHP classes rather than arrays. #DrupalSouth #ThemingWithPinto
March 13, 2025 at 12:58 AM
Try using Pinto on your next Drupal project to dramatically speed up how fast you can theme a site. Check out Adam’s blog posts on Pinto to find out more. www.previousnext.com.au/blog/next-le... #DrupalSouth #ThemingWithPinto
March 13, 2025 at 12:58 AM
Pinto is a new module written by PNXer Daniel Phin. It introduces a new, structured way for theming in Drupal and is used in all new #PreviousNext projects. #DrupalSouth #ThemingWithPinto
March 13, 2025 at 12:58 AM
To set up #Pinto, 1. Define a namespace for object discovery in services.yml. 2. Create an Enum to register Theme Objects. 3. And optionally, use the Components module to define a Twig namespace to reference templates in a design system such as Storybook. #DrupalSouth #ThemingWithPinto
March 13, 2025 at 12:58 AM