function angularjs_examples_menu in AngularJS 7
Implements hook_menu().
File
- modules/
angularjs_examples/ angularjs_examples.module, line 6
Code
function angularjs_examples_menu() {
$items = array();
$items['angular/nodes'] = array(
'title' => t('Nodes'),
'page callback' => 'angularjs_examples_nodes',
'access arguments' => array(
'access content',
),
);
$items['angular/nodes/list'] = array(
'title' => t('Nodes'),
'page callback' => 'angularjs_examples_nodes_list',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
return $items;
}