You are here

function _entityform_get_submit_info in Entityform 7

Same name and namespace in other branches
  1. 7.2 entityform.module \_entityform_get_submit_info()
2 calls to _entityform_get_submit_info()
EntityformController::buildContent in ./entityform.module
Overriding the buldContent function to add entity specific fields
entityform_edit_form in ./entityform.admin.inc
Form callback: create or edit a entityform.

File

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

Code

function _entityform_get_submit_info($entityform) {
  $account = user_load($entityform->uid);
  return t("Submitted by !name on !date", array(
    '!name' => theme('username', array(
      'account' => $account,
    )),
    '!date' => format_date($entityform->created),
  ));
}