Skip to content

Fix call to undefined function Fixes Issue #23 #24

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

Closed

Conversation

bennybobw
Copy link

While working on porting entity_translation, I found a call to an undefined function entity_ui_clone_entity(). I didn't see any other entity clone functions in backdrop core entity or entity_plus so I chose to copy the code directly from the Drupal 7 version.

Fixes Issue #23

While working on porting entity_translation, I found a call to an
undefined function entity_ui_clone_entity(). I didn't see any other
entity clone functions in backdrop core entity or entity_plus so I chose
to copy the code directly from the Drupal 7 version.
@argiepiano
Copy link
Contributor

That function does exist, there is no need to duplicate the code:
https://github.com/backdrop-contrib/entity_ui/blob/83d01aa16291cafc1ba7df1165277c7c48bcf7b4/entity_ui.module#L426

Also a reminder to please use the magic words "Fixes XXX" when you submit PRs, that will assure the issue is closed when merged.

@bennybobw
Copy link
Author

My bad!

@bennybobw bennybobw closed this Mar 19, 2025
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.

2 participants