AnsweredAssumed Answered

Are there alternatives to relationship logic hooks?

Question asked by EvilPeri EvilPeri on May 5, 2014
I was just wondering if this is possible.

here is my scenario:

on custom modules you can modify the <custom_module>.php file on the module/<custom_module>/<custom_module>.php to add something like

public function save($check_notify)
{
        if($this->fetched_row['id]){
          //do something
        }
        parent::save($check_notify);
}

this functions just like a before_save logic hook on a custom module. I was just wondering if there is something like this but for the relationship such as after_relationship_add/delete, before_relationship_add/delete. Is this even possible?

Outcomes