summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/field_test.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 02:04:44 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 02:04:44 +0000
commit6061fa9781205b4de2a5cc69a565036e5fb2bf97 (patch)
treefddd45aac58609796d174121e922a7acdaa9106c /modules/simpletest/tests/field_test.install
parent5faaa376aa8c0bb5b1a17bca8f506f8431f795b0 (diff)
downloadbrdo-6061fa9781205b4de2a5cc69a565036e5fb2bf97.tar.gz
brdo-6061fa9781205b4de2a5cc69a565036e5fb2bf97.tar.bz2
#565480 by plach and peximo: TF #2: Multilingual field handling. Integration between field API and locale module + translatable node bodies.
Diffstat (limited to 'modules/simpletest/tests/field_test.install')
-rw-r--r--modules/simpletest/tests/field_test.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/simpletest/tests/field_test.install b/modules/simpletest/tests/field_test.install
index 83beb5e42..2bb1701bf 100644
--- a/modules/simpletest/tests/field_test.install
+++ b/modules/simpletest/tests/field_test.install
@@ -7,6 +7,17 @@
*/
/**
+ * Implement hook_install().
+ */
+function field_test_install() {
+ // hook_entity_info_alter() needs to be executed as last.
+ db_update('system')
+ ->fields(array('weight' => 1))
+ ->condition('name', 'field_test')
+ ->execute();
+}
+
+/**
* Implement hook_schema().
*/
function field_test_schema() {