1 layout.module layout_create_context($context_plugin_name, $config = array())

Helper function to create a Layout Context.

Return value

LayoutContext:

File

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

Code

function layout_create_context($context_plugin_name, $config = array()) {
  return layout_create_handler('layout_context', $context_plugin_name, $config);
}