function delta_reset in Delta 7.3
@todo
3 calls to delta_reset()
- delta_inject in ./
delta.module - @todos
- delta_theme_settings in ./
delta.module - @todo
- delta_ui_layout_configure in delta_ui/
delta_ui.admin.inc - @todo
File
- ./
delta.module, line 127 - Provide contextual theme settings via context module
Code
function delta_reset($theme) {
if ($current = delta_get_current($theme)) {
foreach (delta_get_plugins($current) as $plugin) {
$plugin
->revoke();
}
$pointer =& drupal_static('delta_inject');
$pointer[$theme] = NULL;
module_invoke_all('delta_reset', $theme, $current);
return $current;
}
}