function nodereferrer_view_handler_relationship::construct in NodeReferrer 7
Same name and namespace in other branches
- 6 views/nodereferrer_view_handler_relationship.inc \nodereferrer_view_handler_relationship::construct()
Views handlers use a special construct function.
Allows it to more easily construct them with variable arguments.
Overrides views_object::construct
File
- views/
nodereferrer_view_handler_relationship.inc, line 10 - nodereferrer.module Views integration
Class
- nodereferrer_view_handler_relationship
- @file nodereferrer.module Views integration
Code
function construct() {
parent::construct();
if (isset($this->definition['content_field_name'])) {
$this->content_field = content_fields($this->definition['content_field_name']);
}
}