- Add the module to modules/custom directory.
- Create a content type "Agency" with machine name as 'agency'.
- Add fields to it, remember to add 'field_mail' field to it.
- Create a Form Mode by the name "Company Form Mode" and machine name as "company_form_mode".
- Under "Manage Form Display Settings" for agency content type , select "Company Form Mode" as a separate for mode.
- Create a content of type "Agency" and add Drupal user Acount's email address to it.
- Install the module and place the block "Manage Company Profile", wherever you think it should be placed.
- Visit the page and notice that now you are able to access Company Form Mode.
-
Notifications
You must be signed in to change notification settings - Fork 0
panshulK/Drupal-Custom-Form-Mode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Repo for displaying custom form mode
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published