node_example_info

6 node_example.module node_example_info()

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

Related topics

1 string reference to 'node_example_info'

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')));
}
Login or register to post comments