diff --git a/core/modules/inline_form_errors/inline_form_errors.module b/core/modules/inline_form_errors/inline_form_errors.module index 908ed9c..1ca3c9c 100644 --- a/core/modules/inline_form_errors/inline_form_errors.module +++ b/core/modules/inline_form_errors/inline_form_errors.module @@ -5,6 +5,21 @@ * Enables inline form errors. */ +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function inline_form_errors_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + case 'help.page.inline_form_errors': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Inline Form Errors module provides an experimental approach to form errors, placing the error messages next to the elements themselves.') . '

'; + return $output; + } +} + /** * Implements hook_preprocess_HOOK() for form element templates. */