1 layout.module | layout_get_layout_info($layout_name = NULL) |
Load the layout template information for a single layout template name.
Duplicates the function layout_get_layout_template_info() to maintain compatibility. Should not be used in new code.
Parameters
string $layout_name: The name of the layout template, e.g. "one_column" or "three_three_four_column". If no layout template is specified, all layout info will be returned.
Return value
array|boolean: The layout template information, as returned by either a stand-alone template .info file, or through a module's hook_layout_info().
Deprecated
since 1.4.0
See also
layout_get_layout_template_info()
File
- core/
modules/ layout/ layout.module, line 1746 - The Layout module creates pages and wraps existing pages in layouts.
Code
function layout_get_layout_info($layout_name = NULL) {
return layout_get_layout_template_info($layout_name);
}