You are here

function template_preprocess_entityform_submittd_data in Entityform 7

File

./entityform.module, line 701
Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface

Code

function template_preprocess_entityform_submittd_data(&$variables) {
  $entityform = $variables['entityform'];
  $variables['date'] = format_date($entityform->created);
  $variables['name'] = theme('username', array(
    'account' => $entityform,
  ));
  $uri = entity_uri('entityform', $entityform);
  $uri['options']['absolute'] = TRUE;
  $variables['url'] = url($uri['path'], $uri['options']);
}