summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/entity_test/entity_test.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/entity_test/entity_test.install')
-rw-r--r--core/modules/system/tests/modules/entity_test/entity_test.install8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/modules/system/tests/modules/entity_test/entity_test.install b/core/modules/system/tests/modules/entity_test/entity_test.install
index 4d2e0f3..1a6d9a2 100644
--- a/core/modules/system/tests/modules/entity_test/entity_test.install
+++ b/core/modules/system/tests/modules/entity_test/entity_test.install
@@ -9,13 +9,7 @@
* Implements hook_install().
*/
function entity_test_install() {
- $entity_types = array(
- 'entity_test',
- 'entity_test_rev',
- 'entity_test_mul',
- 'entity_test_mulrev',
- );
- foreach ($entity_types as $entity_type) {
+ foreach (entity_test_entity_types() as $entity_type) {
// Auto-create fields for testing.
entity_create('field_storage_config', array(
'entity_type' => $entity_type,