Issue #2613154 by LOBsTerr, sivaji@knackforge.com: Remove node.views.inc
parent
1b5aefe848
commit
2be16d8a4e
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provide views data for node.module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_views_wizard().
|
||||
*/
|
||||
function node_views_wizard() {
|
||||
// @todo: figure this piece out.
|
||||
if (\Drupal::moduleHandler()->moduleExists('statistics')) {
|
||||
$plugins['node']['available_sorts']['node_counter-totalcount:DESC'] = t('Number of hits');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue