Views' filter handlers

  1. 3.x handlers/views_handler_filter.inc views_filter_handlers
  2. 2.x handlers/views_handler_filter.inc views_filter_handlers

Handlers to tell Views how to filter queries.

Definition items:

  • allow empty: If true, the 'IS NULL' and 'IS NOT NULL' operators become available as standard operators.

Object flags: You can set some specific behavior by setting up the following flags on your custom class.

  • no_single: Disable the possibility to force a single value.
  • no_operator: Disable the possibility to use operators.
  • no_optional: Disable the possibility to allow a exposed input to be optional.

File

handlers/views_handler_filter.inc, line 2

Classes

Namesort descending Location Description
views_handler_filter handlers/views_handler_filter.inc Base class for filters.
views_handler_filter_broken handlers/views_handler_filter.inc A special handler to take the place of missing or broken handlers.