submenu

How to Create a Full Sub Menu starting from the second level of Nav using the default menu theme

  1. <?php
  2.         $tree = menu_tree_page_data(variable_get('menu_primary_links_source', 'primary-links'));
  3.         foreach( $tree as $key => $menu){

hook_menu - Menu e SubMenu

  1. <?php
  2.  
  3. function ficha_cadastral_menu()
  4. {
  5.         $items['update_ficha'] = array(
  6.             'title' => 'Ficha Cadastral',
  7.                 'access arguments' => array('Acesso à Ficha Cadastral'),
Syndicate content