poll_node_info

Versions
4.7 – 7
poll_node_info()

Implementation of hook_node_info().

Code

modules/poll/poll.module, line 317

<?php
function poll_node_info() {
  return array(
    'poll' => array(
      'name' => t('Poll'),
      'module' => 'poll',
      'description' => t("A poll is a multiple-choice question which visitors can vote on."),
      'title_label' => t('Question'),
      'has_body' => FALSE,
    )
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.