You are here

function entity_menu_links_label in Entity menu links 7

Entity label callback.

1 string reference to 'entity_menu_links_label'
entity_menu_links_entity_info in ./entity_menu_links.module
Implements hook_entity_info().

File

./entity_menu_links.module, line 66
Entity menu link module

Code

function entity_menu_links_label($menu_link) {
  $menu_link = (object) $menu_link;
  return $menu_link->title;
}