Drupoal: Custom Views handler

Die Tree House Agency beschreibt den Prozess einen Views Handler zu schreiben.

So today I’m sharing with you an example of a new custom handler. We had the need to create a modification of the taxonomy term filter that allowed for using multiple vocabularies. We also needed it to be in an exposed filter to be used in an administration screen.

Let’s start by first looking at what is different, then at the current filter.

  • Change the selection element selection to a checkbox element.
  • Keep all of the current functionality of the term selction

From the 10,000 foot view (no pun intented) that’s it. Using the wonderful world of objects, we are going ot utilize the current handler, only overriding a few functions.

Possibly related posts (automatically generated)