Mercurial > hg > rr-repo
view modules/blog/blog.install @ 2:b74b41bb73f0
-- Google analytics module
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 22 Aug 2013 17:22:54 +0100 |
parents | ff03f76ab3fe |
children |
line wrap: on
line source
<?php /** * @file * Install, update and uninstall functions for the blog module. */ /** * Implements hook_install(). */ function blog_install() { // Ensure the blog node type is available. node_types_rebuild(); $types = node_type_get_types(); node_add_body_field($types['blog']); } /** * Implements hook_uninstall(). */ function blog_uninstall() { variable_del('blog_block_count'); }