function form_example_info in Examples for Developers 6
Simple page callback to give feedback to the user about this example.
1 string reference to 'form_example_info'
- form_example_menu in form_example/
form_example.module - Implements hook_menu() to set up the URLs (menu entries) for the form examples.
File
- form_example/
form_example.module, line 154 - Examples demonstrating the Drupal Form API.
Code
function form_example_info() {
return t('The form example provides <a href="!tutorial_url">tutorial examples</a> tied to the <a href="!handbook_url">handbook</a> and <a href="!element_url">form element examples</a>.', array(
'!tutorial_url' => url('examples/form_example/tutorial'),
'!handbook_url' => 'http://drupal.org/node/262422',
'!element_url' => url('examples/form_example/element_example'),
));
}