fileupload_node_info

Versions
4.7 – 5
fileupload_node_info()

Implementation of hook_node_info.

Code

developer/examples/fileupload.module, line 56

<?php
function fileupload_node_info() {
  return array(
    'fileupload' => array(
      'name' => t('file upload'),
      'module' => 'fileupload',
      'description' => t('Example file upload content type'),
      'has_title' => TRUE,
      '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.