@@ -17,9 +17,9 @@ function action_help($route_name, RouteMatchInterface $route_match) {
switch($route_name){
case'help.page.action':
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h2>'.t('About').'</h2>';
$output.='<p>'.t('The Actions UI module provides tasks that can be executed by the site such as unpublishing content, sending email messages, or blocking a user. Other modules can trigger these actions when specific system events happen; for example, when new content is posted or when a user logs in. Modules can also provide additional actions. For more information, see the <a href=":documentation">online documentation for the Actions UI module</a>.',[':documentation'=>'https://www.drupal.org/documentation/modules/action']).'</p>';
$output.='<dd>'.t('<em>Simple actions</em> do not require configuration and are listed automatically as available on the <a href=":actions">Actions administration page</a>.',[':actions'=>Url::fromRoute('entity.action.collection')->toString()]).'</dd>';
@@ -16,9 +16,9 @@ function announcements_feed_help($route_name, RouteMatchInterface $route_match)
switch($route_name){
case'help.page.announcements_feed':
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h2>'.t('About').'</h2>';
$output.='<p>'.t('The Announcements module displays announcements from the Drupal community. For more information, see the <a href=":documentation">online documentation for the Announcements module</a>.',[':documentation'=>'https://www.drupal.org/docs/core-modules-and-themes/core-modules/announcements-feed']).'</p>';
$output.='<dd>'.t('Users with the "View drupal.org announcements" permission may click on the "Announcements" item in the administration toolbar, or access @link, to see all announcements relevant to the Drupal version of your site.',[
@@ -16,9 +16,9 @@ function automated_cron_help($route_name, RouteMatchInterface $route_match) {
switch($route_name){
case'help.page.automated_cron':
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h2>'.t('About').'</h2>';
$output.='<p>'.t('The Automated Cron module runs cron operations for your site using normal browser/page requests instead of having to set up a separate cron job. The Automated Cron module checks at the end of each server response when cron operation was last ran and, if it has been too long since last run, it executes the cron tasks after sending a server response. For more information, see the <a href=":automated_cron-documentation">online documentation for the Automated Cron module</a>.',[':automated_cron-documentation'=>'https://www.drupal.org/documentation/modules/automated_cron']).'</p>';
$output.='<dd>'.t('On the <a href=":cron-settings">Cron page</a>, you can set the frequency (time interval) for running cron jobs.',[':cron-settings'=>Url::fromRoute('system.cron_settings')->toString()]).'</dd>';
@@ -15,9 +15,9 @@ function ban_help($route_name, RouteMatchInterface $route_match) {
switch($route_name){
case'help.page.ban':
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h2>'.t('About').'</h2>';
$output.='<p>'.t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For more information, see the <a href=":url">online documentation for the Ban module</a>.',[':url'=>'https://www.drupal.org/documentation/modules/ban']).'</p>';
$output.='<h3>'.t('Uses').'</h3>';
$output.='<h2>'.t('Uses').'</h2>';
$output.='<dl>';
$output.='<dt>'.t('Banning IP addresses').'</dt>';
$output.='<dd>'.t('Administrators can enter IP addresses to ban on the <a href=":bans">IP address bans</a> page.',[':bans'=>Url::fromRoute('ban.admin_page')->toString()]).'</dd>';
@@ -15,7 +15,7 @@ function basic_auth_help($route_name, RouteMatchInterface $route_match) {
switch($route_name){
case'help.page.basic_auth':
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h2>'.t('About').'</h2>';
$output.='<p>'.t('The HTTP Basic Authentication module supplies an <a href="http://en.wikipedia.org/wiki/Basic_access_authentication">HTTP Basic authentication</a> provider for web service requests. This authentication provider authenticates requests using the HTTP Basic Authentication username and password, as an alternative to using Drupal\'s standard cookie-based authentication system. It is only useful if your site provides web services configured to use this type of authentication (for instance, the <a href=":rest_help">RESTful Web Services module</a>). For more information, see the <a href=":hba_do">online documentation for the HTTP Basic Authentication module</a>.',[':hba_do'=>'https://www.drupal.org/documentation/modules/basic_auth',':rest_help'=>(\Drupal::moduleHandler()->moduleExists('rest'))?Url::fromRoute('help.page',['name'=>'rest'])->toString():'#']).'</p>';