1 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

core/modules/layout/layout.module, line 1962
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);
}