Skip to content
Snippets Groups Projects
Commit 78417a7a authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3257473 by phenaproxima: Package Manager must implement hook_help()

parent 505e263a
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @file
* Contains hook implementations for Package Manager.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function package_manager_help($route_name, RouteMatchInterface $route_match) {
// @todo Fully document all the modules features in
// https://www.drupal.org/i/3253591.
switch ($route_name) {
case 'help.page.package_manager':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Package Manager is an API for installing and updating Drupal core and contributed modules.') . '</p>';
$output .= '<p>' . t('For more information, see the <a href=":automatic-updates-documentation">online documentation for the Automatic Updates module</a>.', [':automatic-updates-documentation' => 'https://www.drupal.org/docs/8/update/automatic-updates']) . '</p>';
return $output;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment