13
Jul
How to display form in custom url in Drupal
- Category:
- Drupal
Posted On : July 13, 2013
| No Comment
If you want to make a custom url in drupal for that use below code.
function Module-Name_menu() {
$items['custom path '] = array(
‘title’ => ‘ title name ‘,
‘page callback’ => ‘ function name what are you display ‘,
‘access arguments’ => array(‘access content’), );
return $items;
}
Screenshot of Form Custom URL :-
- Tags: