Download & Extend

Devel tab integration for webform submissions

Project:Webform
Version:7.x-4.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Dave Reid
Status:needs review

Issue Summary

Since submissions have their own core token integration, it would be nice if admins could see what the token values would actually be for a sample submission. The following patch adds Devel module integration for a 'Load' tab to directly inspect the submission object, and optionally a 'Tokens' tab if token module is installed.

Comments

#1

Status:active» needs review
AttachmentSize
1899316-devel-integration.patch 2.33 KB

#2

Note that the Token devel tab requires the most recent commit in Token because webform_tokens() requires $type == 'submission' but $data with a key of 'webform-submission'. It's the only module I've seen that mismatches those two items, so I had to add support for overriding what the token type is. This will be available in the next (very recent) release.

nobody click here