You are here

function field_test_entity_label_callback in Drupal 7

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 modules/field/tests/field_test.entity.inc
Implements hook_entity_info().

File

modules/field/tests/field_test.module, line 212

Code

function field_test_entity_label_callback($entity) {
  return 'label callback ' . $entity->ftlabel;
}