function delta_inject in Delta 7.3
@todos
3 calls to delta_inject()
- context_reaction_delta::execute in plugins/
context/ context_reaction_delta.inc - @todo
- delta_theme_settings in ./
delta.module - @todo
- delta_ui_layout_configure in delta_ui/
delta_ui.admin.inc - @todo
2 string references to 'delta_inject'
- delta_get_current in ./
delta.module - @todo
- delta_reset in ./
delta.module - @todo
File
- ./
delta.module, line 156 - Provide contextual theme settings via context module
Code
function delta_inject($name) {
if ($name && ($delta = delta_load($name))) {
$pointer =& drupal_static(__FUNCTION__);
$before = delta_reset($delta->theme);
foreach (delta_get_plugins($name) as $plugin) {
$plugin
->inject();
}
$pointer[$delta->theme] = $name;
module_invoke_all('delta_inject', $delta->theme, $name);
return $before;
}
}