function field_test_entity_label_callback
Implements callback_entity_info_label().
Return value
The label of the entity prefixed with "label callback".
1 string reference to 'field_test_entity_label_callback'
- field_test_entity_info in drupal-7.x/
modules/ field/ tests/ field_test.entity.inc - Implements hook_entity_info().
Archivo
- drupal-7.x/
modules/ field/ tests/ field_test.module, line 212 - Helper module for the Field API tests.
Código
function field_test_entity_label_callback($entity) {
return 'label callback ' . $entity->ftlabel;
}