Skip to content

Commit

Permalink
Merge pull request #1846 from catharsisjelly/issue-1845-ignore_menuitem
Browse files Browse the repository at this point in the history
Adding `ignore_menuitem` into LeftAndMain
  • Loading branch information
GuySartorelli authored Nov 6, 2024
2 parents 9935822 + 663b7d0 commit fbeface
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/LeftAndMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ class LeftAndMain extends Controller implements PermissionProvider
*/
private static $url_priority = 50;

/**
* When set to true, this controller isn't given a menu item in the left panel in the CMS.
*/
private static bool $ignore_menuitem = false;

/**
* A subclass of {@link DataObject}.
*
Expand Down

0 comments on commit fbeface

Please sign in to comment.