function form_placeholder_menu in Form Placeholder 7
Implements hook_menu().
File
- ./
form_placeholder.module, line 11 - Use field label as placeholder for all elements in choosen form.
Code
function form_placeholder_menu() {
$items = array();
$items['admin/config/user-interface/form-placeholder'] = array(
'title' => 'Form Placeholder',
'description' => 'Use field label as placeholder for all elements in chosen form.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'form_placeholder_admin_settings',
),
'access arguments' => array(
'administer form placeholder',
),
'file' => 'form_placeholder.admin.inc',
);
return $items;
}