equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * @file |
|
4 * Test content for the trigger upgrade path. |
|
5 */ |
|
6 |
|
7 // Add several trigger configurations. |
|
8 db_insert('trigger_assignments')->fields(array( |
|
9 'hook', |
|
10 'aid', |
|
11 'weight', |
|
12 )) |
|
13 ->values(array( |
|
14 'hook' => 'node_presave', |
|
15 'aid' => 'node_publish_action', |
|
16 'weight' => '1', |
|
17 )) |
|
18 ->values(array( |
|
19 'hook' => 'comment_presave', |
|
20 'aid' => 'comment_publish_action', |
|
21 'weight' => '1', |
|
22 )) |
|
23 ->values(array( |
|
24 'hook' => 'comment_delete', |
|
25 'aid' => 'node_save_action', |
|
26 'weight' => '1', |
|
27 )) |
|
28 ->execute(); |