Skip to content
Snippets Groups Projects
Commit c15b2236 authored by Viktor Holovachek's avatar Viktor Holovachek
Browse files

Issue #3471993 - Add help

parent a81817b8
No related branches found
No related tags found
1 merge request!12Issue #3471993 - Add help
......@@ -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().
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment