Problem/Motivation

In trying to add a view to the My Workbench landing page, I discovered said views cannot contain bulk operations... because the output of all blocks is rendered and placed in #markup. The problem with this is that output is passed through Xss::filterAdmin()... removing any form tags.

Proposed resolution

Blocks have built as render arrays and we're returning a render array. Why don't we just return the blocks in the render array?

Remaining tasks

Review incoming patch and decide if it's a good way forward (with minimal other changes).

User interface changes

N/A

API changes

None

Data model changes

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pingers created an issue. See original summary.

pingers’s picture

Status: Active » Needs review
FileSize
1.14 KB

...and here's a patch.

agentrickard’s picture

  • agentrickard committed 499ca39 on 8.x-1.x
    Issue #2832963 by pingers: Can't use VBO views on the My Workbench page
    
agentrickard’s picture

Status: Needs review » Fixed

Nice patch! Committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

agentrickard’s picture