Closed (fixed)
Project:
Field tools
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2012 at 15:47 UTC
Updated:
29 Jun 2012 at 18:01 UTC
Jump to comment: Most recent file
Currently the function field_tools_field_clone_form is not using field_tools_options_entity_bundle but it is using the same code. This can be replaced with a call to the function.
Also field_tools_options_entity_bundle will make an option for the current bundle. This should not be an option.
will attach a patch....
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field_tools-reuse_options_function-1617816-3.patch | 3.1 KB | tedbow |
| #1 | field_tools-reuse_options_function-1617816-1.patch | 2.44 KB | tedbow |
Comments
Comment #1
tedbowAttached patch - ran through coder review
Comment #2
joachim commentedA few nitpicks below...
(I remember back when I was fairly new to Drupal my co-maintainers nitpicking my patches for layout issues like this, so I appreciate it's probably tedious :/ the coding standards do become an ingrained habit with time though... :)
Needs an extra line before the @return.
Comment should start with a capital and end with a full stop.
Check this still applies, as I seem to remember tweaking some of the docs in the last patch of your I committed.
I've given you commit access, so once you've tweaked it and checked it and everything, go ahead and commit it :D
Comment #3
tedbowNo worries. I just reread through the coding standards. I have been just maintaining a couple modules by my self for a while now so I haven't anyone really looking over my code(though I do use coder review).
I fixed those problems and ran through coder again.
I have attached the updated patch and will commit it.
Thanks
Comment #4
tedbowCommitted :)