drawerToggle is a control for collapsible
drawerLayout on the left side of the page. This drawer contains the application’s main menu.
drawerToggle is typically placed on the main application view. Together with
drawerLayout they create a common pattern for navigating the application.
In the default application template,
drawerToggle is located in the upper left corner of the navigation bar.
It allows users to access main menu from anywhere in the application or collapse it to provide more space for the current view.
To generate a handler stub in Jmix Studio, use the Handlers tab of the Jmix UI inspector panel or the Generate Handler action available in the top panel of the view class and through the Code → Generate menu (Alt+Insert / Cmd+N).