You are here

Views argument default plugins in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

Plugin API

Parent topics

File

core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 14
Contains \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase.

Classes

Namesort descending Location Description
ArgumentDefaultPluginBase core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php The fixed argument default handler; also used as the base.
Fixed core/modules/views/src/Plugin/views/argument_default/Fixed.php The fixed argument default handler.
QueryParameter core/modules/views/src/Plugin/views/argument_default/QueryParameter.php A query parameter argument default handler.
Raw core/modules/views/src/Plugin/views/argument_default/Raw.php Default argument plugin to use the raw value from the URL.
ViewsArgumentDefault core/modules/views/src/Annotation/ViewsArgumentDefault.php Defines a Plugin annotation object for views argument default plugins.