Skip to content
Snippets Groups Projects

#3515746 - Removed redundant help message for installing package manager

Open #3515746 - Removed redundant help message for installing package manager
All threads resolved!
All threads resolved!
Files
2
+ 2
2
@@ -92,10 +92,10 @@ final class SettingsForm extends ConfigFormBase {
'#disabled' => $package_manager_not_ready,
];
if ($package_manager_not_ready) {
if ($package_manager_not_ready && $this->currentUser()->hasPermission('administer modules')) {
$form['allow_ui_install_compatibility'] = [
'#type' => 'container',
'#markup' => $this->t('The ability to install modules via the Project Browser UI requires Package Manager version 2.5 or newer. Package Manager is provided as part of the <a href="https://www.drupal.org/project/automatic_updates" target="_blank" rel="noopener noreferrer">Automatic Updates</a> module.'),
'#markup' => $this->t('Enable "Package Manager" module <a href="/admin/modules#module-package-manager">here</a> to enhance your Project Browser UI Experience.'),
];
}
Loading