Remove hook_navbar() from farm_admin.

This commit is contained in:
Michael Stenta 2017-06-27 15:43:02 -04:00
parent d10bfa60b8
commit c73b27852f
1 changed files with 0 additions and 24 deletions

View File

@ -102,30 +102,6 @@ function farm_admin_dashboard() {
return $output;
}
/**
* Implements hook_navbar().
*/
function farm_admin_navbar() {
// Farm tab.
$items['farm'] = array(
'#type' => 'navbar_item',
'tab' => array(
'#type' => 'link',
'#title' => t('Farm'),
'#href' => 'farm',
'#options' => array(
'attributes' => array(
'title' => t('Farm management'),
'class' => array('navbar-icon', 'navbar-icon-dashboard'),
),
),
),
'#weight' => 20,
);
return $items;
}
/**
* Generate the farm menu.
*