additional_fields['nid'] = 'nid'; } function option_definition() { $options = parent::option_definition(); $options['label'] = array('default' => 'Form', 'translatable' => TRUE); return $options; } function query() { $this->ensure_my_table(); $this->add_additional_fields(); } function render($values) { $node = node_load($values->{$this->aliases['nid']}); if (node_access('view', $node)) { $form_body = node_view($node, FALSE, FALSE); } else { return; } return $form_body; } }