function blog_install
blog_install()
Implements hook_install().
File
- modules/blog/blog.install, line 11
- Install, update and uninstall functions for the blog module.
Code
function blog_install() { // Ensure the blog node type is available. node_types_rebuild(); $types = node_type_get_types(); node_add_body_field($types['blog']); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!blog!blog.install/function/blog_install/7.x