1.20.x layout.module layout_flexible_tempstore_set(LayoutFlexibleTemplate $flexible_template)

Store changes to a flexible layout template in the temporary store.

Parameters

LayoutFlexibleTemplate $flexible_template: The loaded flexible template object.

File

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

Code

function layout_flexible_tempstore_set(LayoutFlexibleTemplate $flexible_template) {
  tempstore_set('layout.flexible', $flexible_template->name, $flexible_template, 604800);
}