Mercurial > hg > isophonics-drupal-site
diff core/modules/help/help.api.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/help/help.api.php Thu Feb 28 13:21:36 2019 +0000 +++ b/core/modules/help/help.api.php Thu May 09 15:33:08 2019 +0100 @@ -5,6 +5,8 @@ * Hooks for the Help system. */ +use Drupal\Core\Url; + /** * @addtogroup hooks * @{ @@ -48,7 +50,7 @@ switch ($route_name) { // Main module help for the block module. case 'help.page.block': - return '<p>' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The <a href=":blocks">blocks administration page</a> provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', [':blocks' => \Drupal::url('block.admin_display')]) . '</p>'; + return '<p>' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The <a href=":blocks">blocks administration page</a> provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', [':blocks' => Url::fromRoute('block.admin_display')->toString()]) . '</p>'; // Help for another path in the block module. case 'block.admin_display':