Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
swiffy_slider
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
swiffy_slider
Merge requests
!1
Issue
#3333729
: hook_help function missing in .module file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3333729
: hook_help function missing in .module file
issue/swiffy_slider-3333729:3333729-hookhelp-function-missing
into
1.0.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Shubham Rathore
requested to merge
issue/swiffy_slider-3333729:3333729-hookhelp-function-missing
into
1.0.x
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
1.0.x
version 1
690b7a36
2 years ago
1.0.x (base)
and
latest version
latest version
ae9fbc60
2 commits,
2 years ago
version 1
690b7a36
1 commit,
2 years ago
1 file
+
18
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
swiffy_slider.module
+
18
−
3
Options
<?php
/**
* @file
* Primary module hooks for Swiffy Slider module.
*/
declare
(
strict_types
=
1
);
use
Drupal\Core\Template\Attribute
;
use
Drupal\Core\Routing\RouteMatchInterface
;
use
Drupal\Core\Template\AttributeHelper
;
/**
* @file
* Primary module hooks for Swiffy Slider module.
* Implements hook_help().
*/
function
swiffy_slider_help
(
$route_name
,
RouteMatchInterface
$route_match
)
{
switch
(
$route_name
)
{
// Main module help for the swiffy_slider module.
case
'help.page.swiffy_slider'
:
$output
=
''
;
$output
.
=
'<h3>'
.
t
(
'About'
)
.
'</h3>'
;
$output
.
=
'<p>'
.
t
(
'Swiffy Slider provides a lightweight slider/carousel solution. All the sliding, dragging, snapping etc. are native browser behavior and not Javascript.'
)
.
'</p>'
;
return
$output
;
use
Drupal\Core\Template\AttributeHelper
;
default
:
}
}
/**
* Implements hook_theme().
Loading