Skip to content

Commit

Permalink
ENH Use config instead of runtime code to remove menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Oct 14, 2024
1 parent 0f83e15 commit 28dc254
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 28dc254

Please sign in to comment.