Problem/Motivation

Followup to #2901948: Support Bulmaswatch custom themes.

On theme settings form submission we flush caches so that any change in library configuration (Bulma or Bulmaswatch) will take effect immediately.

However, other theme settings changes don't require a cache flush.

Proposed resolution

  • In a validation handler, examine relevant submitted values and set a flag indicating whether one of them has changed.
  • In the submission handler, make cache flushing conditional on that flag.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nedjo created an issue. See original summary.

nedjo’s picture

Assigned: Unassigned » nedjo

  • nedjo committed 14e4bf4 on 8.x-1.x
    Issue #2910271 by nedjo: Flush caches on theme settings form submission...
nedjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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