Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 May 2020 at 12:49 UTC
Updated:
10 Jul 2020 at 10:14 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoThank you for applying! I added the Git instructions for non-maintainer users and the PAReview checklist link.
Remember to change status, when the project is ready for review, as in this queue Active means Don't review yet the project I am using for this application.
Comment #3
pratik_kambleComment #4
shaktikReview of the 8.x-1.x branch (commit 572c128):
hook_help(). See https://www.drupal.org/docs/develop/documenting-your-project/module-docu... .This automated report was generated with PAReview.sh, your friendly project application review script.
Comment #5
shaktikComment #6
pratik_kamble@shaktik Thanks for the review. I have fixed the errors related to the coding standards. I will add the test cases probably in the future.
Comment #7
pratik_kambleComment #8
rohitrajputsahab commentedPlease check this.
Line views_complex_grouping.theme.inc
------ -----------------------------------------------------------------------------------------------------------------------------------
11 Function template_preprocess_views_view_complex_grouping_level not found while trying to analyse it - autoloading is probably not
configured properly.
Comment #9
pratik_kamble@rohit-rajput-sahab can you please explain when you say
template_preprocess_views_view_complex_grouping_level()autoloading is configured properly what exactly you mean?Comment #10
avpadernoGiven that the
hook_theme()implementation is the following one, I take the tool used to analyze the code isn't able to understand what file to load to find that preprocess function.Eventually, what should be changed is removing the
\Drupal::moduleHandler()->loadInclude('views_complex_grouping', 'inc', 'views_complex_grouping.theme');line since Drupal uses the value given for thefile key to load the file with the preprocess function.Comment #11
pratik_kamble@kiamlaluno we can't remove
\Drupal::moduleHandler()->loadInclude('views_complex_grouping', 'inc', 'views_complex_grouping.theme');line. Otherwise function inside.theme.incwas not getting called. I had initially tried without loader function.I found the example for view style plugin here. https://www.drupal.org/docs/creating-custom-modules/building-a-views-dis...
Comment #12
avpadernoThat example is wrong. Drupal uses the file key returned from
hook_theme(), which must be added for every theme function that isn't in the module file.Comment #13
klausiOtherwise looks good to me.
Thanks for your contribution, Pratik!
I updated your account so you can opt into security advisory coverage now.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.