' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Olivero, for example, implements the regions "Sidebar", "Highlighted", "Content", "Header", "Footer Top", "Footer Bottom", 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()]) . '

'; // Help for another path in the block module. case 'block.admin_display': 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.') . '

'; } } /** * Perform alterations on help page section plugin definitions. * * Sections for the page at /admin/help are provided by plugins. This hook * allows modules to alter the plugin definitions. * * @param array $info * Array of plugin information exposed by hook page section plugins, altered * by reference. * * @see \Drupal\help\HelpSectionPluginInterface * @see \Drupal\help\Annotation\HelpSection * @see \Drupal\help\HelpSectionManager */ function hook_help_section_info_alter(array &$info) { // Alter the header for the module overviews section. $info['hook_help']['title'] = t('Overviews of modules'); // Move the module overviews section to the end. $info['hook_help']['weight'] = 500; } /** * Perform alterations on help topic definitions. * * @param array $info * Array of help topic plugin definitions keyed by their plugin ID. */ function hook_help_topics_info_alter(array &$info) { // Alter the help topic to be displayed on admin/help. $info['example.help_topic']['top_level'] = TRUE; } /** * @} End of "addtogroup hooks". */