I'm trying to add a new component or populate an existing hidden component on a web form programmatically. I found this:
However I have not found any hooks, which would be the preferred way to do this. I'm essentially just checking to see if there is a hook or how to access that function in a custom module if no hook exists.