Add node after custom node

Add node after custom node

by Helson C -
Number of replies: 0

Hello,

A time ago, I developed a local plugin and add a node in navigation block with:

function local_myplugin_extends_navigation(global_navigation $navigation){        

    $nodeExtra = $navigation->add('My plugin', '/local/myplugin/');     

}

Now I developed a new local plugin and need add another node after of "My plugin".

When I add a new node, this node shows before...

Then, I try use var_dump($navigation) but can't see "My plugin".


Then, i need add a node new after my custom node on naviagtion block.


Thanks in advance.

Average of ratings: -