<?php
$this->addHookAfter('AdminThemeFramework::getUserNavArray', function(HookEvent $event) {
// Get the object the event occurred on, if needed
$AdminThemeFramework = $event->object;
// An 'after' hook can retrieve and/or modify the return value
$return = $event->return;
/* Your code here, perhaps modifying the return value */
$navArray[] = array(
'url' => '/My studbooks/',
'title' => $this->_('My studbooks'),
'target' => '_top',
'icon' => 'eye',
);
// merge the return value with your own nav array
$return = array_merge($return, $navArray);
// Populate back return value, if you have modified it
$event->return = $return;
});