public function Menu()
{
$list = new ArrayList();
$controller = Controller::curr();
$actionType = $controller->getField('CurrentActionType');
$list->push(new ArrayData(['Link' => $this->DeploymentsLink(), 'Title' => 'Deployments', 'IsCurrent' => $this->isCurrent(), 'IsSection' => $this->isSection() && ($actionType == DNRoot::ACTION_DEPLOY || $actionType == \EnvironmentOverview::ACTION_OVERVIEW)]));
$this->extend('updateMenu', $list);
return $list;
}