Views argument handlers
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\views_argument_handlers
- 10 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\views_argument_handlers
- 11.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\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. |
Fid | core/ |
Argument handler to accept an aggregator feed id. |
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. |
Iid | core/ |
Argument handler to accept an aggregator item id. |
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/ |
An argument handler for use in fields that have a many to one relationship with the table(s) to the left. This adds a bunch of options that are reasonably common with this type of relationship. Definition terms: |
NullArgument | core/ |
Argument handler that ignores the argument. |
NumberListField | core/ |
Argument handler for list field to show the human readable name in the summary. |
NumericArgument | core/ |
Basic argument handler for arguments that are numeric. Incorporates break_phrase. |
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/ |
Basic argument handler to implement string arguments that may have length limits. |
StringListField | core/ |
Argument handler for list field to show the human readable name in summary. |
Taxonomy | core/ |
Argument handler for basic taxonomy tid. |
Uid | core/ |
Argument handler to accept a user id. |
UserUid | core/ |
Argument handler to accept a user id to check for nodes that user posted or commented on. |
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. |
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.