You are here

function _views_sortorders in Views (for Drupal 7) 5

Select box entries for sort ordering.

1 call to _views_sortorders()
views_ui_add_sort in ./views_ui.module
Add all the info for a single sort into the form.

File

./views_ui.module, line 606

Code

function _views_sortorders() {
  return array(
    'ASC' => t('Ascending'),
    'DESC' => t('Descending'),
  );
}