You are here

function simpletest_example_node_info in Examples for Developers 7

Same name and namespace in other branches
  1. 6 simpletest_example/simpletest_example.module \simpletest_example_node_info()

Implements hook_node_info().

Related topics

File

simpletest_example/simpletest_example.module, line 22
Module file for simpletest_example

Code

function simpletest_example_node_info() {
  return array(
    'simpletest_example' => array(
      'name' => t('SimpleTest Example Node Type'),
      'base' => 'simpletest_example',
      'description' => t('simpletest_example page node type.'),
    ),
  );
}