Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
date_filter
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
date_filter
Merge requests
!2
Issue
#3339095
: hook_help function missing in .module file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3339095
: hook_help function missing in .module file
issue/date_filter-3339095:1.0.x
into
1.0.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Closed
Kamlesh Kishor Jha
requested to merge
issue/date_filter-3339095:1.0.x
into
1.0.x
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
1.0.x
1.0.x (base)
and
latest version
latest version
2b22ec0d
1 commit,
2 years ago
1 file
+
15
−
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.
date_filter.module
+
15
−
0
Options
@@ -8,6 +8,21 @@
declare
(
strict_types
=
1
);
use
Drupal\date_filter
\Plugin\views\filter\Date
;
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* Implements hook_help().
*/
function
date_filter_help
(
$route_name
,
RouteMatchInterface
$route_match
)
{
switch
(
$route_name
)
{
// Main module help for the date_filter module.
case
'help.page.date_filter'
:
$output
=
''
;
$output
.
=
'<h3>'
.
t
(
'About'
)
.
'</h3>'
;
$output
.
=
'<p>'
.
t
(
'This is a plug-and-play module that replaces core date and datetime filters with a single class that handles both storage types of date and timestamp.'
)
.
'</p>'
;
return
$output
;
}
}
/**
* Implements hook_views_plugins_filter_alter().
Loading