public function EntityLegalDocumentAcceptance::label in Entity Legal 7
Same name and namespace in other branches
- 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
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),
));
}