Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
persistent_visitor_parameters
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
persistent_visitor_parameters
Commits
b6e34f21
Commit
b6e34f21
authored
6 months ago
by
Julian Pustkuchen
Browse files
Options
Downloads
Patches
Plain Diff
CSPELL fixes
parent
ddedf48b
No related branches found
No related tags found
1 merge request
!14
Implemented a hacky, but working session store example
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.cspell-project-words.txt
+1
-0
1 addition, 0 deletions
.cspell-project-words.txt
README.md
+1
-1
1 addition, 1 deletion
README.md
src/PersistenceManager.php
+2
-2
2 additions, 2 deletions
src/PersistenceManager.php
with
4 additions
and
3 deletions
.cspell-project-words.txt
+
1
−
0
View file @
b6e34f21
Persistor
persistor
persistors
varchar
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
b6e34f21
...
...
@@ -14,7 +14,7 @@ processing.
When the visitor is going further on your website and is taking some actions
like doing a purchase this information can be used for analytics. It makes
initial param
a
ters persis
is
tent for a session.
initial param
e
ters persistent for a session.
## FEATURES
...
...
This diff is collapsed.
Click to expand it.
src/PersistenceManager.php
+
2
−
2
View file @
b6e34f21
...
...
@@ -37,7 +37,7 @@ class PersistenceManager {
* Helper method to return the parameters data array.
*
* @return array|null
* The current requet parameters array
* The current reque
s
t parameters array
*/
protected
function
getMatchingRequestParameters
():
?array
{
// If this request has DNT enabled and we respect DNT, return early:
...
...
@@ -66,7 +66,7 @@ class PersistenceManager {
* Stores the current request parameters, if matching.
*
* @param \Drupal\Core\Render\HtmlResponse $response
* The current requet response.
* The current reque
s
t response.
*
* @return bool
* TRUE if parameters were persisted, else FALSE.
...
...
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