Remove an entry from backend settings
1
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.
There are no comments yet
Be the first one to comment