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

Conflicting function name with profile module #44

Closed
indigoxela opened this issue Nov 14, 2023 · 1 comment · Fixed by #45
Closed

Conflicting function name with profile module #44

indigoxela opened this issue Nov 14, 2023 · 1 comment · Fixed by #45

Comments

@indigoxela
Copy link
Member

From our Zulip chat:

we've noticed that the function tinymce_profile_load($name) has a conflict with the module Profile, which has the hook_profile_load(). Any chance the function can be renamed?

https://github.com/backdrop-contrib/tinymce/blob/1.x-1.x/tinymce.module#L60

The easiest solution would be to strip the underscore...

%tinymceprofile would result in function tinymceprofile_load, which shouldn't conflict with anything else.

@avpaderno
Copy link
Member

There is hook_load(), but that hook is invoked only for modules that implement a node content type. It would not be invoked for this module.

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 a pull request may close this issue.

2 participants