Skip to content

Add a contextual link to every form in Backdrop CMS enabling you to easily find the form_id, form variables and the hook to alter the form.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/devel_form_debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devel Form Debug

Devel Form Debug provides a contextual link for all forms that enables you to easily find out the form_id, the form variables ($form) and get a quick template for creating a hook_form_FORM_ID_alter() function.

Requirements

This module requires the following modules:

  • Devel
  • Search Krumo

Using this module requires the following permissions:

  • Use contextual links (Core - Contextual Links)
  • Access developer information (Devel)
  • Access devel form debug contextual links

Installation

Usage

  • Hover over any form and you will see a contextual link available.
  • Expand the link and you will see the form ID.
  • Click on the link and you will see a modal window with copyable form id and hook_form_FORM_ID_alter() function template.
  • Clicking on the "Print form variables" button and you can print out the form variables using the Devel Krumo variable explorer.

Issues

Bugs and Feature Requests should be reported in the Issue Queue: https://github.com/backdrop-contrib/devel_form_debug/issues.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Add a contextual link to every form in Backdrop CMS enabling you to easily find the form_id, form variables and the hook to alter the form.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •