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 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.