| author | ymh <ymh.work@gmail.com> |
| Thu, 16 Nov 2017 16:31:48 +0100 | |
| changeset 555 | 51023e5eae05 |
| parent 541 | e756a8c72c3d |
| permissions | -rwxr-xr-x |
<?php /** * @file * Test content for the trigger upgrade path. */ // Add several trigger configurations. db_insert('trigger_assignments')->fields(array( 'hook', 'aid', 'weight', )) ->values(array( 'hook' => 'node_presave', 'aid' => 'node_publish_action', 'weight' => '1', )) ->values(array( 'hook' => 'comment_presave', 'aid' => 'comment_publish_action', 'weight' => '1', )) ->values(array( 'hook' => 'comment_delete', 'aid' => 'node_save_action', 'weight' => '1', )) ->execute();