Fix for Fix for Views validation of a handler's displays

  1.     // We don't know which display we are on and so we must check them all.
  2.     dsm(array_keys($this->view->display));
  3.     // I get an array of THREE THINGS! This is correct and expected.
  4.    
  5.     foreach ($this->view->display as $display) {
  6.       // Only consider displays that have filters and have our filter on them.
  7.       dsm($display->id);
  8.       // I ONLY GET ONE THING ONCE!!!!!!!!!!! ARGH ( I AM A NEWB! )!!!?!?!??!?!

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.