Skip to content
Snippets Groups Projects
Commit 1623fcc2 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Isssue #2263047 by joshi.rohit100, amitgoyal: Clean up hook_help example so it...

Isssue #2263047 by joshi.rohit100, amitgoyal: Clean up hook_help example so it complies with hook_help standards
parent accd3516
No related branches found
No related tags found
No related merge requests found
......@@ -1015,7 +1015,7 @@ function hook_help($route_name, \Symfony\Component\HttpFoundation\Request $reque
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.', array('@blocks' => url('admin/structure/block'))) . '</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.', array('!blocks' => \Drupal::url('block.admin_display'))) . '</p>';
// Help for another path in the block module.
case 'block.admin_display':
......
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