This ended up being a fair bit of work, particularly because a number of helper functions in form_mode_control.module didn't follow the statically declared function naming convention of {module_name}_{function_name_with_underscores}. I suspect that in truth many or all of them could be moved into a helper class like FormModeControlTrait.php and added to the other classes that way, but that was more refactoring than I was ready to do today.
I went ahead and merged this in, and will try to get a stable release out soon.
Comments
Comment #3
mandclu commentedThis ended up being a fair bit of work, particularly because a number of helper functions in form_mode_control.module didn't follow the statically declared function naming convention of
{module_name}_{function_name_with_underscores}. I suspect that in truth many or all of them could be moved into a helper class like FormModeControlTrait.php and added to the other classes that way, but that was more refactoring than I was ready to do today.I went ahead and merged this in, and will try to get a stable release out soon.
Comment #4
mandclu commented