function node_views_wizard in Views (for Drupal 7) 8.3
Implements hook_views_wizard().
File
- modules/
node.views.inc, line 761 - Provide views data and handlers for node.module.
Code
function node_views_wizard() {
// @todo: figure this piece out.
if (module_exists('statistics')) {
$plugins['node']['available_sorts']['node_counter-totalcount:DESC'] = t('Number of hits');
}
}