1.20.x layout.module layout_get_access_info($plugin_name)

Load all layout access information from modules.

Return value

array:

File

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

Code

function layout_get_access_info($plugin_name) {
  $info = _layout_get_all_info('layout_access');
  return isset($info[$plugin_name]) ? $info[$plugin_name] : FALSE;
}