You are here

function recipe_node_info in Recipe 5

Same name and namespace in other branches
  1. 6 recipe.module \recipe_node_info()
  2. 7.2 recipe.module \recipe_node_info()
  3. 7 recipe.module \recipe_node_info()

Implementation of hook_node_info(). This function replaces hook_node_name() and hook_node_types() from 4.6.

File

./recipe.module, line 59
recipe.module - share recipes for drupal 5.x

Code

function recipe_node_info() {
  return array(
    'recipe' => array(
      'name' => t('Recipe'),
      'module' => 'recipe',
      'description' => t("Share your favorite recipes with your fellow cooks."),
    ),
  );
}