Page manager context argument allows you to add page contexts of page variants from page manager to be set as default arguments for views. I came across this solution after facing the issue given at following link:
https://www.drupal.org/node/2287073
This module adds new option "Page manager context" under default arguments drop down for contextual filters of views. Currently it supports only context of type "any".
Dependencies:
- Page Manager
- Views
Project Page
https://www.drupal.org/sandbox/patilvishalvs/2830217
Pareview Results
Manual review of other projects
https://www.drupal.org/node/2828790#comment-11794745
https://www.drupal.org/node/2829972#comment-11805410
Clone Repository
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/patilvishalvs/2830217.git page_manager_context_argument
cd page_manager_context_argument
Comments
Comment #2
patilvishalvs CreditAttribution: patilvishalvs commentedComment #3
patilvishalvs CreditAttribution: patilvishalvs commentedComment #4
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
rjjakes CreditAttribution: rjjakes commentedAutomated Review
[Best practice issues identified by pareview.sh / drupalcs / coder. Please don't copy/paste all of the results unless they are short. If there are a lot, then post a link to the automated review and mention that problems should be addressed.]
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Issues:
Git default branch is not set, see the documentation on setting a default branch. https://www.drupal.org/node/1659588
Manual Review
See above, or: https://www.drupal.org/node/1659588
Does not following the README template: https://www.drupal.org/node/2181737
Other than that the module works great with no functional issues.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #6
rjjakes CreditAttribution: rjjakes commentedComment #7
patilvishalvs CreditAttribution: patilvishalvs commentedDear rjjakes,
Thank you for sharing your feedback. Please check following response:
If I create an existing "Any data" context within page manager and then enable the module, it does not appear in the Page Manager list when editing the views contextual filters (just a suggestion)
Comment #8
patilvishalvs CreditAttribution: patilvishalvs commentedComment #9
mxhNow that https://www.drupal.org/node/2287073 has been finally fixed, would you still like to continue the project application process?
Comment #10
patilvishalvs CreditAttribution: patilvishalvs commentedClosing this project application process as the requirement is fixed in Drupal core(https://www.drupal.org/node/2287073).