You are here

function node_example_info in Examples for Developers 6

Explain how the module demonstrates a new node type.node_example.test

Related topics

1 string reference to 'node_example_info'
node_example_menu in node_example/node_example.module
Implementation of hook_menu().

File

node_example/node_example.module, line 53
This is an example outlining how a module can be used to define a new node type.

Code

function node_example_info() {
  return t('The node example defines a new node type, "Example node type 1", which can be created at !link.', array(
    '!link' => l(t('node/add/example-node-type-1'), 'node/add/example-node-type-1'),
  ));
}