function activity_comments_handler_field_comments::init in Activity 7
Same name and namespace in other branches
- 6.2 activity_comments/views/activity_comments_handler_field_comments.inc \activity_comments_handler_field_comments::init()
Init the handler with necessary data.
Parameters
view $view: The $view object this handler is attached to.
array $options: The item from the database; the actual contents of this will vary based upon the type of handler.
Overrides views_handler_field::init
File
- activity_comments/
views/ activity_comments.views.inc, line 80
Class
- activity_comments_handler_field_comments
- Activity comments comment form field handler.
Code
function init(&$view, $options) {
parent::init($view, $options);
$this->additional_fields['aid'] = array(
'table' => 'activity',
'field' => 'aid',
);
$this->additional_fields['actions_id'] = array(
'table' => 'activity',
'field' => 'actions_id',
);
}