Chris@0: ' . 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 blocks administration page 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()]) . '

'; Chris@0: Chris@0: // Help for another path in the block module. Chris@0: case 'block.admin_display': Chris@0: return '

' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the Save blocks button at the bottom of the page.') . '

'; Chris@0: } Chris@0: } Chris@0: Chris@0: /** Chris@0: * Perform alterations on help page section plugin definitions. Chris@0: * Chris@0: * Sections for the page at /admin/help are provided by plugins. This hook Chris@0: * allows modules to alter the plugin definitions. Chris@0: * Chris@0: * @param array $info Chris@0: * Array of plugin information exposed by hook page section plugins, altered Chris@0: * by reference. Chris@0: * Chris@0: * @see \Drupal\help\HelpSectionPluginInterface Chris@0: * @see \Drupal\help\Annotation\HelpSection Chris@0: * @see \Drupal\help\HelpSectionManager Chris@0: */ Chris@0: function hook_help_section_info_alter(&$info) { Chris@0: // Alter the header for the module overviews section. Chris@0: $info['hook_help']['header'] = t('Overviews of modules'); Chris@0: } Chris@0: Chris@0: /** Chris@0: * @} End of "addtogroup hooks". Chris@0: */