1.20.x layout.module | layout_create_context($context_plugin_name, $config = array()) |
Helper function to create a Layout Context.
Return value
File
- modules/
layout/ layout.module, line 1758 - 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);
}