Posted by otcassetmgmt on June 10, 2015 at 10:29pm
I created a module using hook_rules_action_info. I can access the menu in Rules and I wrote a function in the module that takes numbers 1-10 and I shuffles them up to apply them to fields as to create a random pool. When I dpm the variable $numbers I see the array as integers displaying, but I am tiring in vain to use 'provide' as described in some tourtorials but I can not get it to be accessed by the entity api? I do have a return at the end of the function that does the number shuffle. I feel this is where I am doing something wrong? Or is there something else?