You are here

function invoice_node_info in Invoice 6

Same name and namespace in other branches
  1. 7 invoice.module \invoice_node_info()

Implementation of hook_node_info()

File

./invoice.module, line 27
Invoice module

Code

function invoice_node_info() {
  return array(
    'invoice' => array(
      'name' => t('Invoice'),
      'module' => 'invoice',
      'description' => t("If you want to add an invoice, use this content type."),
      'has_title' => TRUE,
      'title_label' => t('Title'),
      'has_body' => TRUE,
      'body_label' => t('Body'),
    ),
  );
}