/**
  * @EXT\Route(
  *     "/ordered/tool/{orderedTool}/visibility/toggle",
  *     name="claro_admin_ordered_tool_toggle_visibility",
  *     options={"expose"=true}
  * )
  *
  * @EXT\ParamConverter("authenticatedUser", options={"authenticatedUser"=true})
  */
 public function toggleVisibility(OrderedTool $orderedTool)
 {
     $isVisible = $orderedTool->isVisibleInDesktop();
     $orderedTool->setVisibleInDesktop(!$isVisible);
     $this->toolManager->editOrderedTool($orderedTool);
     return new Response('success', 200);
 }