1 layout.class.inc Layout::clearContexts($key)

Clear a stored context.

File

core/modules/layout/includes/layout.class.inc, line 881
Class for loading, modifying, and executing a layout.

Class

Layout
@file Class for loading, modifying, and executing a layout.

Code

function clearContexts($key) {
  unset($this->contexts[$key]);
  backdrop_static_reset('Layout::getContexts');
}