Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
waypoints
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
waypoints
Commits
8f7e109b
Commit
8f7e109b
authored
2 years ago
by
jay jangid
Committed by
jay jangid
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3334393
: hook_help function missing in .module file
parent
01940f41
No related branches found
No related tags found
1 merge request
!3
Issue #3334393: hook_help function missing in .module file
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
waypoints.module
+19
-0
19 additions, 0 deletions
waypoints.module
with
19 additions
and
0 deletions
waypoints.module
+
19
−
0
View file @
8f7e109b
...
...
@@ -4,7 +4,26 @@
* @file
* Main file for Waypoints module.
*/
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* Implements hook_help().
*/
function
waypoints_help
(
$route_name
,
RouteMatchInterface
$route_match
)
{
switch
(
$route_name
)
{
// Main module help for the waypoints module.
case
'help.page.waypoints'
:
$output
=
''
;
$output
.
=
'<h3>'
.
t
(
'About'
)
.
'</h3>'
;
$output
.
=
'<p>'
.
t
(
'Waypoints is a small jQuery plugin that makes it easy to execute a function
whenever you scroll to an element.
Waypoints makes a solid base for modern UI patterns that depend on a user’s
scroll position on the page'
)
.
'</p>'
;
return
$output
;
default
:
}
}
/**
* Implements hook_page_attachments().
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment