Motivation
The ability for the admin to hide the view header
Steps to reproduce
n/a
Proposed resolution
Add an option that allows removing the header.
Remaining tasks
n/a
User interface changes
n/a
API changes
n/a
Data model changes
n/a
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3427005-2.patch | 1.27 KB | alshami |
Issue fork viewsreference-3427005
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alshami commentedThis patch add extra setting to hide the header of the view
Comment #3
alshami commentedComment #4
scott_euser commentedThanks for the work on this! A few things:
Comment #7
manish-31 commentedPatch #2 did not work for me, in my case there was no value in
$view->display_handler->options['header']. I believe$view->display_handler->getOption('header')would be a good choice and safe option.Opened MR that includes test coverage for hide header option and the above change. Needs review. Thanks!
Comment #9
scott_euser commentedGreat stuff, thank you! Did a round of manual testing as well and all working as expected. Thank you for adding the test coverage as well.
Comment #11
trackleft2Comment #12
trackleft2