Darcness
Member
In the course of developing an add-on, I've added a couple of boolean flags to xf_user_group. I'd like to update those booleans from within the user_group_edit Admin template.
Should I be extending the userGroupSaveProcess() method? And, if so, how do I get data into the entity?
XF\Admin\Controller\UserGroup.userGroupSaveProcess() contains a call to $this->formAction()->basicEntitySave() and supplies the UserGroup entity and a collection of data for the object, which leads me to believe that the 'save' has already been completed well before the form's run() method gets called. Am I out of luck? How are others doing this?
Should I be extending the userGroupSaveProcess() method? And, if so, how do I get data into the entity?
XF\Admin\Controller\UserGroup.userGroupSaveProcess() contains a call to $this->formAction()->basicEntitySave() and supplies the UserGroup entity and a collection of data for the object, which leads me to believe that the 'save' has already been completed well before the form's run() method gets called. Am I out of luck? How are others doing this?