Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ui_patterns_field_formatters
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_patterns_field_formatters
Merge requests
!19
Issue
#3341853
: Implement hook_help()
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3341853
: Implement hook_help()
issue/ui_patterns_field_formatters-3341853:3341853-implement-hookhelp
into
2.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
Issue #3341853: Implement hook_help()
Urvashi Vora
requested to merge
issue/ui_patterns_field_formatters-3341853:3341853-implement-hookhelp
into
2.x
Feb 27, 2023
Overview
0
Commits
1
Pipelines
0
Changes
1
Closes
#3341853
0
0
Merge request reports
Compare
2.x
2.x (base)
and
latest version
latest version
8566c8a4
1 commit,
Feb 27, 2023
1 file
+
16
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Conflict: This file was modified in both the source and target branches. Ask someone with write access to resolve it.
ui_patterns_field_formatters.module
+
16
−
0
View file @ 8566c8a4
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,6 +5,22 @@
@@ -5,6 +5,22 @@
* UI Patterns Field Formatters module.
* UI Patterns Field Formatters module.
*/
*/
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* Implements hook_help().
*/
function
ui_patterns_field_formatters_help
(
$route_name
,
RouteMatchInterface
$arg
)
{
switch
(
$route_name
)
{
case
'help.page.ui_patterns_field_formatters'
:
$output
=
''
;
$output
.
=
'<h3>'
.
t
(
'About'
)
.
'</h3>'
;
$output
.
=
'<p>'
.
t
(
'The UI Patterns Field Formatters module exposes components from UI Patterns to the Field Formatter API.'
)
.
'</p>'
;
return
$output
;
}
}
/**
/**
* Implements hook_field_formatter_info_alter().
* Implements hook_field_formatter_info_alter().
*/
*/
Loading