Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
19
vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu.twig
vendored
Normal file
19
vendor/chi-teck/drupal-code-generator/templates/d7/hook/menu.twig
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Implements hook_menu().
|
||||
*/
|
||||
function {{ machine_name }}_menu() {
|
||||
$items['example'] = array(
|
||||
'title' => 'Example Page',
|
||||
'page callback' => 'example_page',
|
||||
'access arguments' => array('access content'),
|
||||
'type' => MENU_SUGGESTED_ITEM,
|
||||
);
|
||||
$items['example/feed'] = array(
|
||||
'title' => 'Example RSS feed',
|
||||
'page callback' => 'example_feed',
|
||||
'access arguments' => array('access content'),
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
Reference in a new issue