function invoice_node_info in Invoice 7
Same name and namespace in other branches
- 6 invoice.module \invoice_node_info()
Implements hook_node_info()
File
- ./
invoice.module, line 33 - Invoice module
Code
function invoice_node_info() {
return array(
'invoice' => array(
'name' => t('Invoice'),
'base' => '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'),
),
);
}