function eck_menu in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.module \eck_menu()
- 7.2 eck.module \eck_menu()
Implements hook_menu().
Define the paths for the administration section of the Entity Factory The menues get created in three functions eck__entity_type__mene() eck__bundle__menu() eck__entity__menu() This approach made sense thanks to the recursive nature of the menu itmes that need to be created
File
- ./
eck.module, line 78 - ENTITY CONSTRUCTION KIT
Code
function eck_menu() {
module_load_include('inc', 'eck', 'eck.entity_type');
$menu = eck__entity_type__menu();
return $menu;
}