function views_natural_sort_module_implements_alter in Views Natural Sort 8.2
Same name and namespace in other branches
- 7.2 views_natural_sort.module \views_natural_sort_module_implements_alter()
Implements hook_module_implements_alter().
File
- ./
views_natural_sort.module, line 30 - Contains views_natural_sort.module..
Code
function views_natural_sort_module_implements_alter(&$implements, $hook) {
if ($hook == 'views_data_alter') {
// Make views natural sort always last so we get all the up to date info.
$group = $implements['views_natural_sort'];
unset($implements['views_natural_sort']);
$implements['views_natural_sort'] = $group;
}
}