1 layout.module | layout_get_context_info($plugin_name) |
Load all layout context information from modules.
Parameters
string $plugin_name: The name of the plugin.
Return value
array:
File
- core/
modules/ layout/ layout.module, line 1767 - The Layout module creates pages and wraps existing pages in layouts.
Code
function layout_get_context_info($plugin_name) {
$info = _layout_get_all_info('layout_context');
return isset($info[$plugin_name]) ? $info[$plugin_name] : FALSE;
}