Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move functions out of .install #2464

Merged
merged 3 commits into from
Apr 25, 2018
Merged

Move functions out of .install #2464

merged 3 commits into from
Apr 25, 2018

Conversation

janette
Copy link
Member

@janette janette commented Apr 18, 2018

We need to call the _dkan_sitewide_menu_setup_admin_menu_source() when implementing custom permissions as it will also include menu links to additional admin pages. Currently the function is in the .install file, so function_exists('_dkan_sitewide_menu_setup_admin_menu_source') returns false, we can use module_load_install() or move functions out of the install file.
connects https://github.com/NuCivic/ga_reports/issues/448

@kimwdavidson
Copy link

@acouch @janette Is this ready for code review?

@janette
Copy link
Member Author

janette commented Apr 23, 2018

@kimwdavidson it is in the code review lane and assigned to Aaron, is there something missing to indicate it is ready?

@kimwdavidson
Copy link

kimwdavidson commented Apr 23, 2018 via email

@janette
Copy link
Member Author

janette commented Apr 23, 2018

weird, its been in review since last week for me

@acouch
Copy link
Contributor

acouch commented Apr 25, 2018

Looks good to me.

@fmizzell fmizzell merged commit b9238d0 into GetDKAN:7.x-1.x Apr 25, 2018
dafeder pushed a commit that referenced this pull request Apr 24, 2020
dafeder pushed a commit that referenced this pull request Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants