summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2012-12-17 14:31:05 (GMT)
committer catch2012-12-17 14:31:05 (GMT)
commit5af5b1e412b20f7deb223ff75e72406b27d3cebd (patch)
tree136e69c070000973a8792b6c977e794a20734403
parentb9f841b293316da6a99f70481a91a195443364fe (diff)
Call field_attach_create_bundle() from hook_install().
-rw-r--r--har.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/har.install b/har.install
index 9a09d0f..ded846d 100644
--- a/har.install
+++ b/har.install
@@ -24,6 +24,7 @@ function har_install() {
// Clear the entity info cache so our new bundle gets picked up.
drupal_static_reset('entity_get_info');
cache_clear_all('entity_info', 'cache');
+ field_attach_create_bundle('performance_data', 'har');
}
/**