Views argument handlers
Handler plugins for Views contextual filters.
Handler plugins help build the view query object. Views argument handlers are for contextual filtering.
Views argument handlers extend \Drupal\views\Plugin\views\argument\ArgumentPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsArgument annotation, and they must be in namespace directory Plugin\views\argument.
See also
Parent topics
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 17
Classes
| Title Sort descending | File name | Summary |
|---|---|---|
| ArgumentPluginBase | core/ |
Base class for argument (contextual filter) handler plugins. |
| Broken | core/ |
A special handler to take the place of missing or broken handlers. |
| Date | core/ |
Argument handler for dates. |
| Date | core/ |
Abstract argument handler for dates. |
| EntityArgument | core/ |
Argument handler to accept an entity ID value. |
| EntityReferenceArgument | core/ |
Argument handler to accept an entity reference ID value. |
| Fid | core/ |
Argument handler to accept multiple file ids. |
| Formula | core/ |
Argument handler for simple formulae. |
| GroupByNumeric | core/ |
Simple handler for arguments using group by. |
| IndexTid | core/ |
Allow taxonomy term ID(s) as argument. |
| IndexTidDepth | core/ |
Argument handler for taxonomy terms with depth. |
| IndexTidDepthModifier | core/ |
Argument handler for to modify depth for a previous term. |
| LanguageArgument | core/ |
Defines an argument handler to accept a language. |
| ManyToOne | core/ |
Argument handler for many to one relationships. |
| NullArgument | core/ |
Argument handler that ignores the argument. |
| NumberListField | core/ |
Argument handler for list field to show human readable name in the summary. |
| NumericArgument | core/ |
Basic argument handler for arguments that are numeric. |
| RolesRid | core/ |
Allow role ID(s) as argument. |
| Search | core/ |
Argument handler for search keywords. |
| Standard | core/ |
Default implementation of the base argument plugin. |
| StringArgument | core/ |
Argument handler for string. |
| StringListField | core/ |
Argument handler for list field to show the human readable name in summary. |
| Taxonomy | core/ |
Argument handler for basic taxonomy tid. |
| TaxonomyViewsArgumentTest | core/ |
Test argument handler for testing deprecation in Taxonomy argument plugin. |
| Uid | core/ |
Argument handler to accept a user id. |
| UserUid | core/ |
The views user ID argument handler. |
| UserUid | core/ |
UID argument to check for nodes that user posted or commented on. |
| ViewsArgument | core/ |
Defines a Plugin annotation object for views argument handlers. |
| ViewsArgument | core/ |
Defines a ViewsArgument attribute for plugin discovery. |
| VocabularyVid | core/ |
Argument handler to accept a vocabulary id. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.