Views argument default plugins in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\views_argument_default_plugins
Plugins for argument defaults in Views.
Argument default plugins provide default values for contextual filters. This can be useful for blocks and other display types lacking a natural argument input. Examples are plugins to extract node and user IDs from the URL.
Argument default plugins extend \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsArgumentDefault annotation, and they must be in namespace directory Plugin\views\argument_default.
See also
Parent topics
File
- core/
modules/ views/ src/ Plugin/ views/ argument_default/ ArgumentDefaultPluginBase.php, line 14 - Contains \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase.
Classes
Name | Location | Description |
---|---|---|
ArgumentDefaultPluginBase |
core/ |
The fixed argument default handler; also used as the base. |
Fixed |
core/ |
The fixed argument default handler. |
QueryParameter |
core/ |
A query parameter argument default handler. |
Raw |
core/ |
Default argument plugin to use the raw value from the URL. |
ViewsArgumentDefault |
core/ |
Defines a Plugin annotation object for views argument default plugins. |