1.20.x layout.class.inc | Layout::setContexts($key, $context) |
Set the internally stored contexts.
File
- modules/
layout/ includes/ layout.class.inc, line 852 - Class for loading, modifying, and executing a layout.
Class
- Layout
- @file Class for loading, modifying, and executing a layout.
Code
function setContexts($key, $context) {
$this->contexts[$key] = $context;
}