function content_lock_views_handlers in Content locking (anti-concurrent editing) 6
Same name and namespace in other branches
- 6.2 views/content_lock.views.inc \content_lock_views_handlers()
- 7.3 views/content_lock.views.inc \content_lock_views_handlers()
- 7 views/content_lock.views.inc \content_lock_views_handlers()
- 7.2 views/content_lock.views.inc \content_lock_views_handlers()
Implementation of hook_views_handlers()
File
- views/
content_lock.views.inc, line 107 - This file handles views api definitions. We describe the table to Views module as well as other necessary stuff to integrate
Code
function content_lock_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'content_lock') . '/views',
),
'handlers' => array(
'views_handler_field_is_locked' => array(
'parent' => 'views_handler_field_boolean',
),
'views_handler_sort_is_locked' => array(
'parent' => 'views_handler_sort',
),
'views_handler_filter_is_locked' => array(
'parent' => 'views_handler_filter_boolean_operator',
),
),
);
}