public function Counter::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/Counter.php \Drupal\views\Plugin\views\field\Counter::query()
Called to add the field to a query.
Overrides FieldPluginBase::query
File
- core/
modules/ views/ src/ Plugin/ views/ field/ Counter.php, line 58 - Contains \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.
}