summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-27 18:41:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-27 18:41:14 +0000
commitd864fc6363b03662cb904d6117b4e110f16d0158 (patch)
tree9da0a0eaa167652ed64b98a3d13e22ebbe37e6ec /modules/field/tests
parentbe6d3c8bb601fa53839b6c187b31e883e3334560 (diff)
downloadbrdo-d864fc6363b03662cb904d6117b4e110f16d0158.tar.gz
brdo-d864fc6363b03662cb904d6117b4e110f16d0158.tar.bz2
- Patch #754686 by yched: rename 'cacheable' property in hook_entity_info().
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field_test.entity.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/field/tests/field_test.entity.inc b/modules/field/tests/field_test.entity.inc
index 8c32602ea..fb9130baf 100644
--- a/modules/field/tests/field_test.entity.inc
+++ b/modules/field/tests/field_test.entity.inc
@@ -23,26 +23,26 @@ function field_test_entity_info() {
return array(
'test_entity' => array(
'name' => t('Test Entity'),
+ 'fieldable' => TRUE,
+ 'field cache' => FALSE,
'entity keys' => array(
'id' => 'ftid',
'revision' => 'ftvid',
'bundle' => 'fttype',
),
- 'cacheable' => FALSE,
'bundles' => $bundles,
- 'fieldable' => TRUE,
'view modes' => $test_entity_modes,
),
// This entity type doesn't get form handling for now...
'test_cacheable_entity' => array(
'name' => t('Test Entity, cacheable'),
+ 'fieldable' => TRUE,
+ 'field cache' => TRUE,
'entity keys' => array(
'id' => 'ftid',
'revision' => 'ftvid',
'bundle' => 'fttype',
),
- 'fieldable' => TRUE,
- 'cacheable' => TRUE,
'bundles' => $bundles,
'view modes' => $test_entity_modes,
),