1 email_example.module | email_example_menu() |
Implements hook_menu().
Set up a page with an e-mail contact form on it.
Related topics
File
- modules/
examples/ email_example/ email_example.module, line 158 - Hook implementations for the Email Example module.
Code
function email_example_menu() {
$items['example/email_example'] = array(
'title' => 'E-mail Example: contact form',
'page callback' => 'backdrop_get_form',
'page arguments' => array('email_example_form'),
'access arguments' => array('access content'),
);
return $items;
}