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.

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

File

core/modules/views/handlers/views_handler_filter.inc, line 7
@todo.

Functions

Namesort descending Location Description
_views_array_filter_zero core/modules/views/handlers/views_handler_filter.inc Filter by no empty values, though allow to use "0".

Classes

Namesort descending Location Description
views_handler_filter core/modules/views/handlers/views_handler_filter.inc Base class for filters.
views_handler_filter core/modules/views/handlers/views_handler_filter.inc Base class for filters.
views_handler_filter_boolean_operator core/modules/views/handlers/views_handler_filter_boolean_operator.inc Simple filter to handle matching of boolean values
views_handler_filter_boolean_operator_string core/modules/views/handlers/views_handler_filter_boolean_operator_string.inc Simple filter to handle matching of boolean values.
views_handler_filter_broken core/modules/views/handlers/views_handler_filter.inc A special handler to take the place of missing or broken handlers.
views_handler_filter_broken core/modules/views/handlers/views_handler_filter.inc A special handler to take the place of missing or broken handlers.
views_handler_filter_comment_user_uid core/modules/comment/views/views_handler_filter_comment_user_uid.inc Filter handler to accept a user id to check for nodes that user posted or commented on.
views_handler_filter_date core/modules/views/handlers/views_handler_filter_date.inc Filter to handle dates stored as a timestamp.
views_handler_filter_entity_bundle core/modules/views/handlers/views_handler_filter_entity_bundle.inc Filter class which allows to filter by certain bundles of an entity.
views_handler_filter_equality core/modules/views/handlers/views_handler_filter_equality.inc Simple filter to handle equal to / not equal to filters
views_handler_filter_field_list core/modules/field/views/views_handler_filter_field_list.inc Filter handler which uses list-fields as options.
views_handler_filter_file_status core/modules/file/views/views_handler_filter_file_status.inc Filter by file status.
views_handler_filter_group_by_numeric core/modules/views/handlers/views_handler_filter_group_by_numeric.inc Simple filter to handle greater than/less than filters
views_handler_filter_history_user_timestamp core/modules/node/views/views_handler_filter_history_user_timestamp.inc Filter for new content.
views_handler_filter_in_operator core/modules/views/handlers/views_handler_filter_in_operator.inc Simple filter to handle matching of multiple options selectable via checkboxes
views_handler_filter_locale_language core/modules/locale/views/views_handler_filter_locale_language.inc Filter by language.
views_handler_filter_locale_version core/modules/locale/views/views_handler_filter_locale_version.inc Filter by version.
views_handler_filter_many_to_one core/modules/views/handlers/views_handler_filter_many_to_one.inc Complex filter to handle filtering for many to one relationships, such as terms (many terms per node) or roles (many roles per user).
views_handler_filter_ncs_last_updated core/modules/comment/views/views_handler_filter_ncs_last_updated.inc Filter handler for the newer of last comment / node updated.
views_handler_filter_node_access core/modules/node/views/views_handler_filter_node_access.inc Filter by node_access records.
views_handler_filter_node_comment core/modules/comment/views/views_handler_filter_node_comment.inc Filter based on comment node status.
views_handler_filter_node_hidden_path core/modules/node/views/views_handler_filter_node_hidden_path.inc Filter by content type's hidden path setting.
views_handler_filter_node_language core/modules/locale/views/views_handler_filter_node_language.inc Filter by language.
views_handler_filter_node_status core/modules/node/views/views_handler_filter_node_status.inc Filter by published status.
views_handler_filter_node_tnid core/modules/translation/views/views_handler_filter_node_tnid.inc Filter by whether the node is the original translation.
views_handler_filter_node_tnid_child core/modules/translation/views/views_handler_filter_node_tnid_child.inc Filter by whether the node is not the original translation.
views_handler_filter_node_type core/modules/node/views/views_handler_filter_node_type.inc Filter by node type.
views_handler_filter_node_uid_revision core/modules/node/views/views_handler_filter_node_uid_revision.inc Filter handler to check for revisions a certain user has created.
views_handler_filter_numeric core/modules/views/handlers/views_handler_filter_numeric.inc Simple filter to handle greater than/less than filters
views_handler_filter_search core/modules/search/views/views_handler_filter_search.inc Field handler to provide simple renderer that allows linking to a node.
views_handler_filter_string core/modules/views/handlers/views_handler_filter_string.inc Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
views_handler_filter_term_language core/modules/locale/views/views_handler_filter_term_language.inc Filter by language.
views_handler_filter_term_node_tid core/modules/taxonomy/views/views_handler_filter_term_node_tid.inc Filter by term id.
views_handler_filter_term_node_tid_depth core/modules/taxonomy/views/views_handler_filter_term_node_tid_depth.inc Filter handler for taxonomy terms with depth.
views_handler_filter_user_current core/modules/user/views/views_handler_filter_user_current.inc Filter handler for the current user.
views_handler_filter_user_name core/modules/user/views/views_handler_filter_user_name.inc Filter handler for usernames.
views_handler_filter_user_permissions core/modules/user/views/views_handler_filter_user_permissions.inc Filter handler for user roles.
views_handler_filter_user_roles core/modules/user/views/views_handler_filter_user_roles.inc Filter handler for user roles.
views_handler_filter_vocabulary core/modules/taxonomy/views/views_handler_filter_vocabulary.inc Filter by vocabulary name.