1 layout.module layout_create_access($access_plugin_name, $config = array())

Helper function to create a Layout Access.

Return value

LayoutAccess:

File

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

Code

function layout_create_access($access_plugin_name, $config = array()) {
  return layout_create_handler('layout_access', $access_plugin_name, $config);
}