Custom function called within custom action

Is it possible to call a custom function inside a custom action? I would assume with the correct imports this is possible but I am not sure.

6
5 replies