Views query plugins in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\views_query_plugins
Plugins for views queries.
Query plugins generate and execute a built query object against a particular storage backend, converting the Views query object into an actual query. Although query plugins need not necessarily use SQL, most other handler plugins that affect the query (fields, filters, etc.) implicitly assume that the query is using SQL.
Query plugins extend \Drupal\views\Plugin\views\query\QueryPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsQuery annotation, and they must be in namespace directory Plugin\views\query.
See also
Parent topics
File
- core/
modules/ views/ src/ Plugin/ views/ query/ QueryPluginBase.php, line 17 - Contains \Drupal\views\Plugin\views\query\QueryPluginBase.
Classes
Name | Location | Description |
---|---|---|
QueryPluginBase |
core/ |
Base plugin class for Views queries. |
Sql |
core/ |
Views query plugin for an SQL query. |
ViewsQuery |
core/ |
Defines a Plugin annotation object for views query plugins. |