views_sort_null_field.module in Views Sort Null Field 7
views_sort_null_field.module Provides an extra Views sort for FieldAPI fields that orders by whether values are NULL or not.
Based on code at http://grayside.org/2011/08/infinite-null-sorting-null-last
File
views_sort_null_field.moduleView source
<?php
/**
* @file views_sort_null_field.module
* Provides an extra Views sort for FieldAPI fields that orders by whether
* values are NULL or not.
*
* Based on code at http://grayside.org/2011/08/infinite-null-sorting-null-last
*/
/**
* Implements hook_views_api().
*/
function views_sort_null_field_views_api() {
return array(
'api' => '3.0-alpha1',
'path' => drupal_get_path('module', 'views_sort_null_field'),
);
}
Functions
Name![]() |
Description |
---|---|
views_sort_null_field_views_api | Implements hook_views_api(). |