public function Counter::query in Views (for Drupal 7) 8.3
Called to add the field to a query.
Overrides FieldPluginBase::query
File
- lib/
Drupal/ views/ Plugin/ views/ field/ Counter.php, line 41 - 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\fieldCode
public function query() {
// do nothing -- to override the parent query.
}