1.20.x layout.module layout_flexible_reset_caches()

Reset all caches provided by Layout module.

File

modules/layout/layout.module, line 2249
The Layout module creates pages and wraps existing pages in layouts.

Code

function layout_flexible_reset_caches() {
  cache()->delete('layout:flexible:config');

  backdrop_static_reset('layout_flexible_template_load_all');
  backdrop_static_reset('layout_flexible_tempstore_load');
}