You are here

protected function entityform_handler_link_field::create_dummyentityform in Entityform 7.2

Same name and namespace in other branches
  1. 7 views/entityform_handler_link_field.inc \entityform_handler_link_field::create_dummyentityform()

File

views/entityform_handler_link_field.inc, line 50
Contains a Views field handler to take care of displaying links to entities as fields.

Class

entityform_handler_link_field
@file Contains a Views field handler to take care of displaying links to entities as fields.

Code

protected function create_dummyentityform($values) {
  $dummy_entityform = new stdClass();
  $dummy_entityform->type = $values->{$this->aliases['type']};
  if (isset($this->additional_fields['uid'])) {
    $dummy_entityform->uid = $values->{$this->aliases['uid']};
  }
  return $dummy_entityform;
}