root / drupal7 / modules / simpletest / tests / upgrade / drupal-7.field.database.php @ 1afa1695
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Test content for the field update path.
|
6 |
*/
|
7 |
|
8 |
db_insert('variable')->fields(array( |
9 |
'name',
|
10 |
'value',
|
11 |
)) |
12 |
->values(array(
|
13 |
'name' => 'field_bundle_settings', |
14 |
'value' => 'a:1:{s:4:"node";a:1:{s:4:"poll";a:1:{s:12:"extra_fields";a:1:{s:7:"display";a:2:{s:16:"poll_view_voting";a:1:{s:7:"default";a:2:{s:6:"weight";s:1:"0";s:7:"visible";b:1;}}s:17:"poll_view_results";a:1:{s:7:"default";a:2:{s:6:"weight";s:1:"0";s:7:"visible";b:0;}}}}}}}', |
15 |
)) |
16 |
->execute(); |