Views filter handlers in Views (for Drupal 7) 8.3
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
- lib/
Drupal/ views/ Plugin/ views/ filter/ FilterPluginBase.php, line 14 - Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.
Classes
Name | Location | Description |
---|---|---|
Access |
lib/ |
Filter by node_access records. |
BooleanOperator |
lib/ |
Simple filter to handle matching of boolean values |
BooleanOperatorString |
lib/ |
Simple filter to handle matching of boolean values. |
Broken |
lib/ |
A special handler to take the place of missing or broken handlers. |
CategoryCid |
lib/ |
Filter by aggregator category cid |
Current |
lib/ |
Filter handler for the current user. |
Date |
lib/ |
Filter to handle dates stored as a timestamp. |
Equality |
lib/ |
Simple filter to handle equal to / not equal to filters |
FieldList |
lib/ |
Filter handler which uses list-fields as options. |
FilterPluginBase |
lib/ |
Base class for filters. |
FilterPluginBase |
lib/ |
Base class for filters. |
GroupByNumeric |
lib/ |
Simple filter to handle greater than/less than filters |
HistoryUserTimestamp |
lib/ |
Filter for new content. |
InOperator |
lib/ |
Simple filter to handle matching of multiple options selectable via checkboxes |
Language |
lib/ |
Filter by language. |
ManyToOne |
lib/ |
Complex filter to handle filtering for many to one relationships, such as terms (many terms per node) or roles (many roles per user). |
Name |
lib/ |
Filter handler for usernames. |
NcsLastUpdated |
lib/ |
Filter handler for the newer of last comment / node updated. |
NodeComment |
lib/ |
Filter based on comment node status. |
NodeTnid |
lib/ |
Filter by whether the node is the original translation. |
NodeTnidChild |
lib/ |
Filter by whether the node is not the original translation. |
Numeric |
lib/ |
Simple filter to handle greater than/less than filters |
Permissions |
lib/ |
Filter handler for user roles. |
Roles |
lib/ |
Filter handler for user roles. |
Search |
lib/ |
Field handler to provide simple renderer that allows linking to a node. |
Standard |
lib/ |
Default implementation of the base filter plugin. |
Status |
lib/ |
Filter by published status. |
Status |
lib/ |
Filter by file status. |
String |
lib/ |
Basic textfield filter to handle string filtering commands including equality, like, not like, etc. |
TaxonomyIndexTid |
lib/ |
Filter by term id. |
TaxonomyIndexTidDepth |
lib/ |
Filter handler for taxonomy terms with depth. |
Type |
lib/ |
Filter by node type. |
UidRevision |
lib/ |
Filter handler to check for revisions a certain user has created. |
UserUid |
lib/ |
Filter handler to accept a user id to check for nodes that user posted or commented on. |
Version |
lib/ |
Filter by version. |
VocabularyMachineName |
lib/ |
Filter by vocabulary machine name. |
VocabularyVid |
lib/ |
Filter by vocabulary id. |