function NodeCounter::query
Same name in other branches
- 8.9.x core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::query()
- 10 core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::query()
- 11.x core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::query()
Overrides SqlBase::query
File
-
core/
modules/ statistics/ src/ Plugin/ migrate/ source/ NodeCounter.php, line 25
Class
- NodeCounter
- Drupal 6/7 node counter source from database.
Namespace
Drupal\statistics\Plugin\migrate\sourceCode
public function query() {
return $this->select('node_counter', 'nc')
->fields('nc');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.