Skip to content
Snippets Groups Projects

Issue #3471993 - Add help

1 file
+ 16
0
Compare changes
  • Side-by-side
  • Inline
+ 16
0
@@ -5,6 +5,22 @@
* Form API validation module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*
* Provides additional information about the module.
*/
function fapi_validation_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.fapi_validation':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Extends the form API to include convenient access to common for submission filters and validation checks.') . '</p>';
return $output;
}
}
/**
* Implements hook_element_info_alter().
*
Loading