function easy_install_help in Easy Install 8.10
Implements hook_help().
@inheritdoc
File
- ./
easy_install.module, line 183 - Easy uninstall module file.
Code
function easy_install_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.easy_install':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Easy Install is a module built to resolve or avoid the error "Unable to install already exists active configuration" when re installing/un installing the drupal 8 modules , it works even if a module\'s configs not contains enforced in yml or not added configs in optional folder. It removes active configuration object of uninstalled modules and helps to remove configuration object while uninstalling a module without using Drush / Devel / Drupal Console / Features Modules, see the <a href=":easy_install-video">online video for the Easy Install module</a>.', [
':easy_install-video' => 'https://www.youtube.com/watch?v=r4Lqx2pIWZ0',
]) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Configuring Easy Install') . '</dt>';
$output .= '<dd>' . t('There is no configuration for Easy Install, you can use the module at below listed pages') . '</dd>';
$output .= '<dd>' . t('On the <a href=":easy_install-purge">Purge configuration page</a>, you can purge the configuration of uninstalled modules.', [
':easy_install-purge' => Url::fromRoute('easy_install.purge_configurations'),
]) . '</dd>';
$output .= '<dd>' . t('On the <a href=":easy_install-uninstall">Module Uninstall page </a>, you can uninstall the modules with delete configurations option.', [
':easy_install-uninstall' => Url::fromRoute('system.modules_uninstall'),
]) . '</dd>';
$output .= '<dt>' . t('Disabling Easy Install') . '</dt>';
$output .= '<dd>' . t('To disable Easy Install, the recommended method is to uninstall the module.') . '</dd>';
$output .= '</dl>';
return $output;
}
}