From 3f36af04de485a0afa575c17a5d622545e183c75 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 25 Aug 2009 21:53:48 +0000 Subject: - Patch #460320 by catch, fago, Frando: standardized, pluggable entity loading for nodes, users, taxonomies, files and comments. --- modules/simpletest/tests/field_test.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/field_test.module b/modules/simpletest/tests/field_test.module index 54ae3d405..fce1e4735 100644 --- a/modules/simpletest/tests/field_test.module +++ b/modules/simpletest/tests/field_test.module @@ -60,7 +60,7 @@ function field_test_menu() { /** * Define a test fieldable entity. */ -function field_test_fieldable_info() { +function field_test_entity_info() { $bundles = variable_get('field_test_bundles', array('test_bundle' => array('label' => 'Test Bundle'))); return array( 'test_entity' => array( @@ -72,6 +72,7 @@ function field_test_fieldable_info() { ), 'cacheable' => FALSE, 'bundles' => $bundles, + 'fieldable' => TRUE, ), // This entity type doesn't get form handling for now... 'test_cacheable_entity' => array( @@ -81,6 +82,7 @@ function field_test_fieldable_info() { 'revision' => 'ftvid', 'bundle' => 'fttype', ), + 'fieldable' => TRUE, 'cacheable' => TRUE, 'bundles' => $bundles, ), -- cgit v1.2.3