LayoutFlexibleTemplateTest::testLayoutFlexibleTemplates in core/modules/layout/tests/layout.test
Test that layout templates may be enabled and disabled.
layout_flexible_template_machine_name_exists in core/modules/layout/layout.module
Returns whether a flexible layout template machine name already exists. This function will also check if a layout template with the same machine name exists, to prevent clashes on the core "Layout templates" listing page.
layout_flexible_template_settings_edit_form in core/modules/layout/layout.flexible.inc
Form to configure a flexible template.
layout_flexible_tempstore_load in core/modules/layout/layout.module
Get a flexible template currently being edited from the tempstore.
layout_preprocess_layout in core/modules/layout/layout.theme.inc
Prepares variables for layout templates.
layout_test_custom_layout_type_test_page in core/modules/layout/tests/layout_test/layout_test.module
Menu callback; Display a test page with a custom layout type.