A handy new feature in drupal 7 are the local tasks. We will quickly explain two ways of adding them. Everybody should be
familiar with the two examples to be found in the node module. First example is the add content type on ''admin/structure/types".
First method to create a local task, we can use a hook_menu()
<?php
/**
* Implements hook_menu().
*/
function node_menu() {
//...?>