Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
popin
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
popin
Commits
a00ddbd5
Commit
a00ddbd5
authored
1 year ago
by
Alberto Paderno
Committed by
andrii momotov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3373278
: Fix the issues reported by phpcs
parent
1cfc8746
Branches
Branches containing commit
No related tags found
1 merge request
!9
Issue #3373278: Fix the issues reported by phpcs
Pipeline
#211777
passed with warnings
1 year ago
Stage: build
Stage: validate
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-5
5 additions, 5 deletions
README.md
popin.module
+2
-2
2 additions, 2 deletions
popin.module
with
7 additions
and
7 deletions
README.md
+
5
−
5
View file @
a00ddbd5
...
...
@@ -13,9 +13,9 @@ They are all optionals.
You can customize the fields order by editing the provided template
(block-popin.html.twig).
You can configure the visibility of the popin by date, or globally.
The popin
will be displayed once per user session. Update the popin
configuration form
will reset this setting.
You can configure the visibility of the popin by date, or globally.
The popin
will be displayed once per user session. Update the popin
configuration form
will reset this setting.
## Installation
...
...
@@ -25,8 +25,8 @@ You can download this module with Composer, and enable it like any other module.
After that, head to blocks structure configuration to add the "Popin block" to
a region (footer, for example).
(You can use block visibility settings if you want to display the popin only
on
the frontpage.)
(You can use block visibility settings if you want to display the popin only
on
the frontpage.)
Finally, you can configure the popin content and visibility on
/admin/content/popin.
This diff is collapsed.
Click to expand it.
popin.module
+
2
−
2
View file @
a00ddbd5
<?php
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* @file
* Hook implementations for the Popin module.
*/
use
Drupal\Core\Routing\RouteMatchInterface
;
/**
* Implements hook_theme().
*/
...
...
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