Text formatting and Drupal input filter development: Understanding Drupal's most boring subsystem — Video Available

Hi! I'm Garrett Albright, and for over five years, I've been maintaining the Pathologic contributed module, which provides an input filter for correcting URLs in content. During those years, I've come to acquire a good level of familiarity with Drupal's text formatting system, and now I'd like to share that familiarity with you.

Your Drupal site probably uses the complex, unglamorous text formatting system several times a day at the very least. Wouldn't you like to learn more about how it works and how you can make it work for you?

The proposed session will cover:

  • How and when the text format system works
  • How input filters "stack" and interact with each other
  • How and when the text format caches its results, and how not to get tripped up by it
  • How to develop a simple input filter for Drupal 7
  • …and make it more complex by providing user-changeable settings in a settings form
  • …and then port it to Drupal 8!

The session would be partially based on two blog posts I made on the subject: Text Formats 101: How Drupal filters work and Text Formats 102: Developing custom filters.

The video for this session is available on archive.org. There may be sound dropouts in the video — it's not your computer.
Saturday, Oct 26th
12:00 - 12:45pm


Skill Level