Problem/Motivation
The configuration form for breakpoint templates includes grid settings, and the Swiper API supports these settings for breakpoints, but Swiper Formatter ignores grid settings when preparing breakpoints for the swiper config.
Steps to reproduce
Create a breakpoint template with different grid settings than the base template. Those settings will not be included in the config array output on the page.
Proposed resolution
Add 'grid' to the list of included settings in the Swiper::prepareBreakpoints() function.
Remaining tasks
Patch module.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork swiper_formatter-3549240
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 #3
jstollerComment #4
bbu23Hi @jstoller,
Thanks for reporting the issue and providing a fix.
It looks good to me, I'll test when I get the chance.
Comment #6
bbu23Will be available in 2.1.0