Layout::getContexts in core/modules/layout/includes/layout.class.inc
Return all contexts (from both the layout and menu item) for this Layout.
LayoutContext::label in core/modules/layout/plugins/context/layout_context.inc
Assemble a human-readable label of this object.
LayoutContext::setDataFromRouter in core/modules/layout/plugins/context/layout_context.inc
Set the context data from the router item.
LayoutContext::setDataFromRouterMap in core/modules/layout/plugins/context/layout_context.inc
Set the context data from the router item map.
layout_contexts_form_element in core/modules/layout/layout.admin.inc
Partial form to generate a select list for selecting context.
layout_path_load in core/modules/layout/layout.module
Menu loader callback; Convert %layout_path placeholders to loaded objects.