First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
23
modules/blog/blog.install
Normal file
23
modules/blog/blog.install
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue