function views_handler_field_is_locked::construct in Content locking (anti-concurrent editing) 6.2
Same name and namespace in other branches
- 6 views/views_handler_field_is_locked.inc \views_handler_field_is_locked::construct()
- 7 views/views_handler_field_is_locked.inc \views_handler_field_is_locked::construct()
File
- views/
views_handler_field_is_locked.inc, line 9 - Handler to identify if node is locked or not
Class
- views_handler_field_is_locked
- @file Handler to identify if node is locked or not
Code
function construct() {
parent::construct();
// Add the field
// Since we don't have a specific boolean field, we use the timestamp
$this->additional_fields['timestamp'] = 'timestamp';
}