function crm_core_contact_handler_field_contact_revert::init in CRM Core 7
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
- modules/
crm_core_contact/ includes/ views/ handlers/ crm_core_contact_handler_field_contact_revert.inc, line 7
Class
- crm_core_contact_handler_field_contact_revert
- Field handler to provide simple renderer that allows linking to a contact.
Code
function init(&$view, $options) {
parent::init($view, $options);
$this->additional_fields['contact_id'] = 'contact_id';
$this->additional_fields['vid'] = 'vid';
}