Community Documentation

blog_node_info

5 blog.module blog_node_info()
6 blog.module blog_node_info()
7 blog.module blog_node_info()

Implementation of hook_node_info().

File

modules/blog/blog.module, line 11
Enables keeping an easily and regularly updated web page or a blog.

Code

<?php
function blog_node_info() {
  return array(
    'blog' => array(
      'name' => t('Blog entry'), 
      'module' => 'blog', 
      'description' => t('A <em>blog entry</em> is a single post to an online journal, or <em>blog</em>.'),
    ),
  );
}
?>
Login or register to post comments