function Counter::query

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/Counter.php \Drupal\views\Plugin\views\field\Counter::query()
  2. 8.9.x core/modules/views/src/Plugin/views/field/Counter.php \Drupal\views\Plugin\views\field\Counter::query()
  3. 10 core/modules/views/src/Plugin/views/field/Counter.php \Drupal\views\Plugin\views\field\Counter::query()

Overrides FieldPluginBase::query

File

core/modules/views/src/Plugin/views/field/Counter.php, line 53

Class

Counter
Field handler to show a counter of the current row.

Namespace

Drupal\views\Plugin\views\field

Code

public function query() {
    // Do nothing -- to override the parent query.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.