Skip to content

Commit

Permalink
ENH Use config instead of runtime code to remove menu item (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 20, 2024
1 parent 0f83e15 commit a17c038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions _config.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Controllers/LinkFieldController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class LinkFieldController extends LeftAndMain

private static string $url_segment = 'linkfield';

private static $ignore_menuitem = true;

private static array $url_handlers = [
'linkForm/$ItemID' => 'linkForm',
'GET data/$ItemID' => 'linkData',
Expand Down

0 comments on commit a17c038

Please sign in to comment.