Talking Drupal #510 - Drupal Hooks: Drop 'em like they're hot

EPISODE · Jul 7, 2025 · 1H 10M

Talking Drupal #510 - Drupal Hooks: Drop 'em like they're hot

from Talking Drupal

Today we are talking about Drupal Hooks, why they got changed in core, and what to do now with guest Karoly Négyesi better known as Chx. We'll also cover Media Folders as our module of the week. For show notes visit: https://www.talkingDrupal.com/510 Topics Deep Dive into Drupal Hooks The Evolution of Drupal Hooks Challenges and Solutions in Hook Conversion Community Involvement and Contributions The Future of Drupal Hook System Introduction to Procedural Hooks Understanding Theme Hooks Complexities of Preprocess Hooks Converting Hooks to Object-Oriented Impact on Contributed Modules Challenges in Core Conversion Future of Drupal Hooks Lightning Round and Conclusion Resources Hooks becoming OOP Convert everything everwhere all at once Conversion script Conversion patches Ordering hooks OOP Preprocess hooks Render API change 2009 issue for form api ungrokable 2007 change for calling themes hook Giant issue with all of the hook related links Longest hook in core: entity_query_tag__entity_test_mulrev__entity_query_entity_test_mulrev_alter_tag_test_alter Guests Károly Negyesi - ghost-of-drupal-past Hosts Nic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Martin Anderson-Clutz - mandclu.com mandclu MOTW Correspondent Martin Anderson-Clutz - mandclu.com mandclu Brief description: Have you ever wanted to have your Drupal site's media assets presented in a UI that evokes the hierarchy of a filesystem? There's a module for that. Module name/project name: Media Folders Brief history How old: created in Apr 2025 by João Mauricio (jmauricio) Versions available: 1.0.3 which supports Drupal 10.3 and 11 Maintainership Actively maintained Security coverage Test coverage Number of open issues: 9 open issues, 2 of which are bugs, although one was just fixed Usage stats: 61 sites Module features and usage The module mimics a file structure by associating media entities with a taxonomy hierarchy It then provides an intuitive, drag-and-drop UI to move items between locations, drag in new items, or even search within a particular "folder", including a recursive search When you drag in files, it uses "smart" logic to automatically assign files to Media bundles It provides a form display widget, a view display widget, a CKEditor plugin, and it's compatible with other filesystem modules, like S3 File System This kind of interface is a requirement I've seen in RFPs by companies looking for a new CMS, so having this available as a drop-in solution

NOW PLAYING

Talking Drupal #510 - Drupal Hooks: Drop 'em like they're hot

0:00 1:10:11

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Not All At Once Kendall Weihe Two guys talking shop once a week. Mostly about the intersection of technology and money. French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? Mindi on the Mic: From Stigma to Connection Mindi Bernice Wikstrom Welcome to Mindi on the Mic, where mental health meets real life, and stigma is left at the door. Join your host, Mindi Bernice—a therapist and advocate for authentic conversations—as she dives into the stories, struggles, and triumphs that shape who we are. Whether it's talking through trauma, exploring relationships, or finding faith-based inspiration, each episode brings honest discussions and practical insights for growth. Expect a blend of interviews, Q&As, and storytelling from people of all walks of life, creating a space to break barriers, share experiences, and connect meaningfully. The Course Mentors Podcast The Course Mentors Hey there, future course creator!Ever feel like turning your know-how into an online course is like trying to solve a Rubik's cube blindfolded? Well, grab your headphones because "The Course Mentors Podcast" is here to be your secret weapon!Meet Aimee and Odette (that's us!), your new best friends in the course creation world. We've been in the trenches for over a decade, and for the last five years, we've been rocking the online course space. Now we're here to spill all our secrets in bite-sized, 15-20 minute episodes that'll fit perfectly in your coffee breaks.No fluff, no filler - just real, actionable advice that'll take you from "um, what's a landing page?" to "holy moly, I just hit six figures!". We're talking everything from crafting your course to marketing it like a pro and building a business that'll have you pinching yourself.Whether you're dreaming of ditching the 9-to-5 grind, adding a sweet extra income str
URL copied to clipboard!