You are here

public function EntityLegalDocumentAcceptance::label in Entity Legal 7

Same name and namespace in other branches
  1. 7.2 entity_legal.entity.inc \EntityLegalDocumentAcceptance::label()

Returns the label of the entity.

Modules may alter the label by specifying another 'label callback' using hook_entity_info_alter().

Overrides Entity::label

See also

entity_label()

File

./entity_legal.entity.inc, line 447
Entity API main classes used by entity_legal module.

Class

EntityLegalDocumentAcceptance
Legal document user acceptance entity.

Code

public function label() {
  return t('Accepted on @date', array(
    '@date' => format_date($this->acceptance_date),
  ));
}