Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Default argument for current user memberships #565

Closed
wants to merge 39 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1e6f95f
Default argument for current user memberships.
Apr 13, 2017
dc2724c
Standardise name of user property
Apr 19, 2017
f6e0e52
Add missing getGroup method
zerolab Dec 1, 2017
e9ea156
Tweak docblocks and comments
zerolab Sep 26, 2018
2591f05
Merge pull request #564 from tombola/default-argument-membership
MPParsley Aug 21, 2019
40ff05f
Fix deprecation
MPParsley Aug 21, 2019
7dc3e43
Renamed og_user to user
MPParsley Aug 21, 2019
fc0e259
Removed whitespace
MPParsley Aug 21, 2019
4f2f5a1
Update src/Plugin/views/argument_default/Membership.php
MPParsley Aug 21, 2019
d27b965
Cherry pick #563 to fix tests
MPParsley Aug 22, 2019
7922152
Default argument for current user memberships.
Apr 13, 2017
4946448
Standardise name of user property
Apr 19, 2017
8de21d5
Add missing getGroup method
zerolab Dec 1, 2017
c9a2fca
Tweak docblocks and comments
zerolab Sep 26, 2018
0a21336
Fix deprecation
MPParsley Aug 21, 2019
b19edb7
Renamed og_user to user
MPParsley Aug 21, 2019
9b429c1
Removed whitespace
MPParsley Aug 21, 2019
c25d324
Update src/Plugin/views/argument_default/Membership.php
MPParsley Aug 21, 2019
35656a9
Cherry pick #563 to fix tests
MPParsley Aug 22, 2019
afd38d9
Rebase
Aug 22, 2019
47655e6
Apply suggestions from code review
MPParsley Aug 22, 2019
6afb590
Fixed CS
MPParsley Aug 22, 2019
768cd09
Merge pull request #568 from Gizra/8.x-1.x
MPParsley Sep 10, 2019
07a5f39
Merge pull request #607 from Gizra/8.x-1.x
MPParsley Jan 29, 2020
2a54d3e
Make entity and role id configurable
MPParsley Feb 7, 2020
82cc63f
Removed whitespace
MPParsley Feb 8, 2020
7b84ff2
Add option to set role ids
MPParsley Feb 14, 2020
2c8d6eb
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Jul 4, 2020
ef7befd
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Jul 20, 2020
fab6a98
Add strict types
MPParsley Aug 10, 2020
1b2b8d8
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Aug 10, 2020
35e1bb8
Remove comment
MPParsley Aug 10, 2020
802a9d6
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Aug 13, 2020
ac60e8d
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Jan 19, 2021
0f227c6
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Apr 22, 2021
74695ad
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Sep 15, 2021
8f5f282
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Feb 11, 2022
088ccc7
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Aug 25, 2022
14a500f
Merge branch '8.x-1.x' into feature/default-argument-membership
MPParsley Aug 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed whitespace
  • Loading branch information
MPParsley authored Aug 21, 2019
commit fc0e259277c48a41f8d524094ff840080c0069e2
6 changes: 3 additions & 3 deletions src/Plugin/views/argument_default/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ public function getCacheMaxAge() {
*/
public function getCacheContexts() {
// This cache context is the best thing we have right now.
// og_role takes in consideration the user memberships and
// the roles held in the corresponding groups, and while it
// is one level too granular, i.e. the context will be more
// og_role takes in consideration the user memberships and
// the roles held in the corresponding groups, and while it
// is one level too granular, i.e. the context will be more
// fragmented than strictly needed, it works.
return ['og_role'];
}
Expand Down