Problem/Motivation

There is a need for such function which would return a list of styles matching certain conditions and with all default values already included.

API changes

Function styleswitcher_list() has been replaced with styleswitcher_style_load_multiple() which can be used to get a list of styles optionally filtered by any existing properties.
Styles returned from this new function and from styleswitcher_style_load() will have all their 6 properties mandatory.

Comments

pingwin4eg’s picture

Status: Active » Needs review
StatusFileSize
new8.2 KB
pingwin4eg’s picture

  • pingwin4eg committed ff6502e on 7.x-2.x
    Issue #2536298 by pingwin4eg: All-purpose function to return a styles...
pingwin4eg’s picture

Category: Plan » Task
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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