You are here

function realname_handler_field_user_name::init in Real Name 6

File

./realname_handler_field_user_name.inc, line 14
The RealName module allows the admin to choose fields from the user profile that will be used to add a "realname" element (method) to a user object.

Class

realname_handler_field_user_name
Field handler for realnames

Code

function init(&$view, &$data) {
  parent::init($view, $data);
  $this->additional_fields['realname'] = 'realname';
}