Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
image_field_360
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
image_field_360
Merge requests
!2
Issue
#3344167
: Implement hook_help()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3344167
: Implement hook_help()
issue/image_field_360-3344167:8.x-1.x
into
8.x-1.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
Shubham Rathore
requested to merge
issue/image_field_360-3344167:8.x-1.x
into
8.x-1.x
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (base)
and
latest version
latest version
56f42281
1 commit,
2 years ago
1 file
+
18
−
0
Inline
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.
image_field_360.module
+
18
−
0
Options
@@ -4,3 +4,21 @@
* @file
* Contains image_field_360.module.
*/
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* Implements hook_help().
*/
function
image_field_360_help
(
$route_name
,
RouteMatchInterface
$route_match
)
{
switch
(
$route_name
)
{
case
'help.page.image_field_360'
:
$filepath
=
dirname
(
__FILE__
)
.
'/README.txt'
;
if
(
file_exists
(
$filepath
))
{
$readme
=
file_get_contents
(
$filepath
);
$output
=
'<pre>'
.
$readme
.
'</pre>'
;
return
$output
;
}
}
}
Loading