You are here

function simpletest_example_node_info in Examples for Developers 6

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

Implementation of hook_node_info().

Related topics

File

simpletest_example/simpletest_example.module, line 29
An example of simpletest tests to accompany the tutorial at http://drupal.org/node/395012.

Code

function simpletest_example_node_info() {
  return array(
    'simpletest_example' => array(
      'name' => t('simpletest_example page'),
      'module' => 'simpletest_example',
      'description' => t('simpletest_example page node type.'),
    ),
  );
}