Called to add the field to a query.
Overrides FieldPluginBase::query
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php, line 39
- Definition of Drupal\views\Plugin\views\field\Counter.
Class
- Counter
- Field handler to show a counter of the current row.
Namespace
Drupal\views\Plugin\views\field
Code
public function query() {
}