views_sort_expression.views.inc in Views Sort Expression 7
File
views/views_sort_expression.views.incView source
<?php
/**
* Alter the table and field information from hook_views_data().
*
* @param array $data
* An array of all information about Views tables and fields, collected from
* hook_views_data(), passed by reference.
*
* @see hook_views_data()
*/
function views_sort_expression_views_data_alter(array &$data) {
$data['views']['views_sort_expression'] = array(
'title' => t('Expression'),
'help' => t('Allow you to use an SQL expression.'),
'sort' => array(
'handler' => 'views_sort_expression_handler',
),
);
}
Functions
Name | Description |
---|---|
views_sort_expression_views_data_alter | Alter the table and field information from hook_views_data(). |