diff --git a/legal.module b/legal.module
index e569d1c..b998b3c 100644
--- a/legal.module
+++ b/legal.module
@@ -5,21 +5,23 @@
  * Module file for Legal.
  */
 
+use Drupal\user\RoleInterface;
+use Drupal\Core\Routing\RouteMatchInterface;
 /**
  * Implements hook_help().
  */
-function legal_help($path, $arg) {
-  $output = '';
-  switch ($path) {
-    case 'admin/help#legal':
-      $output .= t('Display a Terms & Conditions statement on the registration page, require visitor to accept T&C to register. When a user creates an account they are required to accept your Terms & Conditions to complete their registration.');
-      break;
-    case 'admin/settings/legal':
-      $output .= t('Display a Terms & Conditions statement on the registration page, require visitor to accept the T&C to register. A <a href="@page">page</a> displaying your T&C will be automatically created, access to this page can be set via the <a href="@access">permissions</a> administration page.',
-        array('@page' => url('legal'), '@access' => url('admin/user/permissions')));
-  }
 
-  return $output;
+function legal_help($route_name, RouteMatchInterface $route_match) {
+  switch ($route_name) {
+    // Main module help for the user_expire module.
+    case 'help.page.legal':
+      $output = '<h3>' . t('About') . '</h3>';
+      $output .= '<dt>'.t('This module which displays your Terms & Conditions to users who want to
+    register, and makes sure they accept the T&C before their registration
+    is accepted.'). '</dt>';
+      return $output;
+    break;
+  }
 }
 
 /**
