Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fapi_validation
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
fapi_validation
Merge requests
!12
Issue
#3471993
- Add help
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3471993
- Add help
issue/fapi_validation-3471993:3471993-implement-hookhelp
into
8.x-2.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Viktor Holovachek
requested to merge
issue/fapi_validation-3471993:3471993-implement-hookhelp
into
8.x-2.x
7 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Related to
#3471993
0
0
Merge request reports
Compare
8.x-2.x
8.x-2.x (base)
and
latest version
latest version
c15b2236
1 commit,
7 months ago
1 file
+
16
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
fapi_validation.module
+
16
−
0
Options
@@ -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