Issue #2610520 by quietone, snehi, MiSc, hansfn, Ben Coleman, Antoniya: Documentation about aggregator feed block incorrect

merge-requests/1602/head
catch 2022-01-02 11:33:15 +00:00
parent c26a85eacc
commit 98a9ec751c
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ function aggregator_help($route_name, RouteMatchInterface $route_match) {
// Don't use placeholders for possibility to change URLs for translators.
$output = '<p>' . t('Many sites publish their headlines and posts in feeds, using a number of standardized XML-based formats. The aggregator supports <a href="http://en.wikipedia.org/wiki/Rss">RSS</a>, <a href="http://en.wikipedia.org/wiki/Resource_Description_Framework">RDF</a>, and <a href="http://en.wikipedia.org/wiki/Atom_%28standard%29">Atom</a>.') . '</p>';
// cspell:ignore addfeed
$output .= '<p>' . t('Current feeds are listed below, and <a href=":addfeed">new feeds may be added</a>. For each feed, the <em>latest items</em> block may be enabled at the <a href=":block">blocks administration page</a>.', [':addfeed' => Url::fromRoute('aggregator.feed_add')->toString(), ':block' => (\Drupal::moduleHandler()->moduleExists('block')) ? Url::fromRoute('block.admin_display')->toString() : '#']) . '</p>';
$output .= '<p>' . t('Current feeds are listed below, and <a href=":addfeed">new feeds may be added</a>. For each feed, the <em>@block_name</em> block may be enabled at the <a href=":block">block layout page</a>.', [':addfeed' => Url::fromRoute('aggregator.feed_add')->toString(), '@block_name' => t('Aggregator feed'), ':block' => (\Drupal::moduleHandler()->moduleExists('block')) ? Url::fromRoute('block.admin_display')->toString() : '#']) . '</p>';
return $output;
case 'aggregator.feed_add':