1.20.x layout.module layout_create_relationship($relationship_plugin_name, $config = array())

Helper function to create a Layout Context.

Return value

LayoutContext:

File

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

Code

function layout_create_relationship($relationship_plugin_name, $config = array()) {
  return layout_create_handler('layout_relationship', $relationship_plugin_name, $config);
}