Skip to content
Snippets Groups Projects
Commit 41140a0e authored by Alona O'neill's avatar Alona O'neill Committed by Peter Weber
Browse files

Issue #3071218 by bnjmnm, alonaoneill, Willtg, zrpnr: Hook Help is missing

parent 0aa88dc0
Branches
Tags 8.x-1.0
No related merge requests found
<?php
/**
* @file
* Contains jquery_ui_progressbar.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function jquery_ui_progressbar_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.jquery_ui_progressbar':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Drupal 8 includes jQuery UI in core, however it is no longer actively maintained and has been marked deprecated. This module provides the jQuery UI Progressbar library for any themes and modules that require it.') . '</p>';
$output .= '<p>' . t('For more information about the deprecation of jQuery UI, see this <a href=":change-record">change record</a>', [':change-record' => 'https://www.drupal.org/node/3067969']) . '</p>';
$output .= '<p>' . t('Visit the <a href=":project_link">jQuery UI Progressbar project page</a> on Drupal.org for more information.', [':project_link' => 'https://www.drupal.org/project/jquery_ui_progressbar']) . '</p>';
return $output;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment