Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / modules / contrib / entity / tests / modules / entity_module_test / entity_module_test.module
diff --git a/web/modules/contrib/entity/tests/modules/entity_module_test/entity_module_test.module b/web/modules/contrib/entity/tests/modules/entity_module_test/entity_module_test.module
new file mode 100644 (file)
index 0000000..bcd1492
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * Implements hook_entity_bundle_info().
+ */
+function entity_module_test_entity_bundle_info() {
+  $bundles['entity_test_enhanced']['default']['label'] = t('Default');
+  $bundles['entity_test_enhanced']['first']['label'] = t('First');
+  $bundles['entity_test_enhanced']['second']['label'] = t('Second');
+  $bundles['entity_test_enhanced_with_owner']['default']['label'] = t('Default');
+  $bundles['entity_test_enhanced_with_owner']['first']['label'] = t('First');
+  $bundles['entity_test_enhanced_with_owner']['second']['label'] = t('Second');
+
+  return $bundles;
+}