In working with the remove links trigger, it seems there is a need for an additional Parameter that dynamically replaces the "As linked to the Broadcasting Asset, which also resides under the Root Node", so, essentially the root node. In my case, I want to use the current user, so, in /core/assets/system/triggers/trigger_action_types/trigger_action_remove_links I am editing trigger_action_remove_links.inc.
On line 352, I have added:
$attr_parameter_map->setParameter('root', 'Root Node');
After adding that, the new option shows up in the Remove Links trigger parameters.
My questions is, where in the trigger_action_remove_links.inc file, is the code that corresponds to the "As linked to the Broadcasting Asset, which also resides under the Root Node" root node, which I want to replace with the newly added "root" parameter? I can't seem to find it.
Any suggestions or help on this would be wonderful!