public function NodeCounter::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/statistics/src/Plugin/migrate/source/NodeCounter.php \Drupal\statistics\Plugin\migrate\source\NodeCounter::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ statistics/ src/ Plugin/ migrate/ source/ NodeCounter.php, line 20
Class
- NodeCounter
- Node counter source from database.
Namespace
Drupal\statistics\Plugin\migrate\sourceCode
public function query() {
return $this
->select('node_counter', 'nc')
->fields('nc');
}