user_block.module 558 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Contains user_block.module.
  5. */
  6. use Drupal\Core\Routing\RouteMatchInterface;
  7. /**
  8. * Implements hook_help().
  9. */
  10. // function user_block_help($route_name, RouteMatchInterface $route_match) {
  11. // switch ($route_name) {
  12. // // Main module help for the user_block module.
  13. // case 'help.page.user_block':
  14. // $output = '';
  15. // $output .= '<h3>' . t('About') . '</h3>';
  16. // $output .= '<p>' . t('Provide a block with user name/email and logout link') . '</p>';
  17. // return $output;
  18. //
  19. // default:
  20. // }
  21. // }