This pipeline is a trigger (returns no output) which is called when certain objects are deleted. It makes it possible to delete data stored in linkage tables at the same time as an object is deleted. It is passed an array of the various deletions to be made (containing the deleted object type and identifier).
pipeline('trig_supprimer_objets_lies', array(
array('type'=>'mot', 'id'=>$id_mot)
));
This pipeline is called for deletion of a keyword and for a message.