function views_php_views_data in Views PHP 7.2
Same name and namespace in other branches
- 8 views_php.views.inc \views_php_views_data()
- 6 views_php.views.inc \views_php_views_data()
- 7 views_php.views.inc \views_php_views_data()
Implements hook_views_data().
File
- ./
views_php.views.inc, line 11 - Provide views handlers and plugins that allow usage of PHP.
Code
function views_php_views_data() {
$data['views']['php'] = array(
'title' => t('PHP'),
'help' => t('Use PHP code.'),
'area' => array(
'help' => t('Use PHP code to construct the output of an area.'),
'handler' => 'views_php_handler_area',
),
'field' => array(
'help' => t('Use PHP code to construct the output of a field.'),
'handler' => 'views_php_handler_field',
),
'filter' => array(
'help' => t('Use PHP code to filter the result of the view.'),
'handler' => 'views_php_handler_filter',
),
'sort' => array(
'help' => t('Use PHP code to sort the result of the view.'),
'handler' => 'views_php_handler_sort',
),
);
return $data;
}