October CMS resources and help articles

Simple and to the point. Optimized by the community.

Remove an entry from backend settings

by mjauvin, last modified on December 17th, 2019

If you want to remove an entry from the backend settings page, use the following code:

        Event::listen('system.settings.extendItems', function($manager) {
            $manager->removeSettingItem('<owner>', '<code>');

Where <owner> is the plugin id (i.e. author.pluginName)

and <code> is the key for the config entry used in the plugin registration file's registerSettings method call.



We use cookies to measure the performance of this website. Do you want to accept these cookies?