function entity_example_basic_title in Examples for Developers 7
Callback for a page title when this entity is displayed.
Related topics
1 string reference to 'entity_example_basic_title'
- entity_example_menu in entity_example/
entity_example.module - Implements hook_menu().
File
- entity_example/
entity_example.module, line 301 - Implements the basic functionality required to create and display an entity.
Code
function entity_example_basic_title($entity) {
return t('Entity Example Basic (item_description=@item_description)', array(
'@item_description' => $entity->item_description,
));
}