You are here

function poll_node_info in Drupal 4

Same name and namespace in other branches
  1. 5 modules/poll/poll.module \poll_node_info()
  2. 6 modules/poll/poll.module \poll_node_info()
  3. 7 modules/poll/poll.module \poll_node_info()

Implementation of hook_node_info().

File

modules/poll.module, line 253
Enables your site to capture votes on different topics in the form of multiple choice questions.

Code

function poll_node_info() {
  return array(
    'poll' => array(
      'name' => t("poll"),
      'base' => 'poll',
    ),
  );
}