You are here

function views_php_views_handlers in Views PHP 6

Implements hook_views_handlers().

File

./views_php.views.inc, line 38
Provide views handlers and plugins that allow usage of PHP.

Code

function views_php_views_handlers() {
  $handlers = array(
    'info' => array(
      'path' => drupal_get_path('module', 'views_php') . '/plugins/views',
    ),
    'handlers' => array(
      'views_php_handler_field' => array(
        'parent' => 'views_handler_field',
      ),
      'views_php_handler_filter' => array(
        'parent' => 'views_handler_filter',
      ),
      'views_php_handler_sort' => array(
        'parent' => 'views_handler_sort',
      ),
      'views_php_handler_area' => array(
        'parent' => 'views_handler_area',
      ),
    ),
  );
  return $handlers;
}