function commerce_license_label in Commerce License 7
Entity label callback: returns the label for an individual license.
1 string reference to 'commerce_license_label'
- commerce_license_entity_info in ./
commerce_license.module - Implements hook_entity_info().
File
- ./
commerce_license.module, line 184 - Provides a framework for selling access to local or remote resources.
Code
function commerce_license_label($entity, $entity_type) {
return t('License @id', array(
'@id' => $entity->license_id,
));
}