+
+/**
+ * Implements hook_help().
+ */
+function block_class_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the forms_to_email module.
+ case 'help.page.block_class':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t("Block Class allows users to add classes to any block through the block's configuration interface. Hooray for more powerful block theming!") . '</p>';
+
+ $output .= '<h3>' . t('Installation note') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Enable the module on <a href=":extend_link">extend menu</a>.', [':extend_link' => \Drupal::url('system.modules_list')]) . '</dt>';
+ $output .= '</dl>';
+
+ $output .= '<h3>' . t('Usage') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t("To add a class to a block, simply visit that block's configuration page at Administration > Structure > Block Layout and click on Configure of the desired block.") . '</dt>';
+ $output .= '</dl>';
+
+ return $output;
+ }
+}