Currently the views_debug/vpr function aims to support translations and objects

        vpr('set_display() called with invalid display id @display.', array('@display' => $display_id));

but in fact the function doens't support placeholders at the moment.

The goal of the function is to

* Support placeholders
* Support arrays/objects
* Support direct translation/translation on render via the watchdog module.

CommentFileSizeAuthor
#2 1279438.patch2.93 KBdawehner
#1 1279438.patch2.07 KBdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new2.07 KB

It would be cool if someone know a nicer way to not have this somehow spagetti code.

Additional there might be instances which have to be converted.

dawehner’s picture

StatusFileSize
new2.93 KB

Okay are the instances convered to placeholders.

dawehner’s picture

Status: Needs review » Fixed

It's somehow a nice addition. Commited to 7.x-3.x

dawehner’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Fixed » Patch (to be ported)

This might be worth to backport

chris matthews’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

The Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed: #3030347: Plan to clean process issue queue