Skip to content

Commit

Permalink
ENH Remove LinkFieldController from cms menu
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 19, 2023
1 parent 55208f8 commit ea28fe1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php

use SilverStripe\Core\Manifest\ModuleLoader;
use SilverStripe\Forms\HTMLEditor\TinyMCEConfig;
use SilverStripe\Admin\CMSMenu;
use SilverStripe\LinkField\Controllers\LinkFieldController;

// Avoid creating global variables
call_user_func(function () {
});
CMSMenu::remove_menu_class(LinkFieldController::class);

0 comments on commit ea28fe1

Please sign in to comment.