1 layout.class.inc Layout::setContexts($key, $context)

Set the internally stored contexts.

File

core/modules/layout/includes/layout.class.inc, line 884
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;
}