You are here

function wp_blog_node_info in WP Blog - a WordPress-style blogging module. 7

Implements hook_node_info().

File

./wp_blog.module, line 99
WP Blog provides a content-type, taxonomy vocabulary, views and various features to mimic a WordPress-style blog.

Code

function wp_blog_node_info() {
  return array(
    WP_BLOG_DEFAULT_CTYPE => array(
      'base' => 'wp_blog',
      'name' => t('WP blog post'),
      'has_title' => TRUE,
      'title_label' => t('Title'),
      'locked' => FALSE,
    ),
  );
}