Drupal adventures of a Junior Developer

Menu

Tag Archives: hook_form_alter

I’ve created a WebForm and I’ve been modifying it with hook_form_alter inside a custom module. Another thing I wanted to do is make the page be an admin page, I did changed the path to ‘admin/mypath’ but it didn’t worked.The solution I’ve come with is divided in two parts: