October 21 to 23, 2011

UC Berkeley, California

A culmination of the brightest Drupal minds in the technology hub of the world


Preying on the drupal_alter()

When you're building your next Drupal project, The chances are pretty good that at some point you'll find Drupal is doing it wrong. The good news is that Drupal 7 core alone gives you around 80 opportunities to "make it right."

This session is way more than staring at a boring slide deck.

We'll crack into some code and check out some of the most popular alter hooks, and learn how to use things like hook_form_alter() and hook_menu_alter() (arguably the most "normal" _alter hooks).

Then we'll get really evil, and work through some new fun ones, like hook_block_view_alter() and hook_page_alter().

Then when while we're at it, we'll show you how you too can add your own alter hooks to a custom module. (So other developers don't have to say, "You're doing it wrong").

I'm not going to lie, there will be code. But, never fear! We're going to stay at a fairly basic level. If you're scared of writing a module, come anyway! Here's the best part: you may not even need a custom module.