function delta_get_plugins in Delta 7.3
@todo
6 calls to delta_get_plugins()
- delta_get_plugin in ./
delta.module - @todo
- delta_inject in ./
delta.module - @todos
- delta_reset in ./
delta.module - @todo
- delta_ui_layout_configure in delta_ui/
delta_ui.admin.inc - @todo
- delta_ui_layout_configure_submit in delta_ui/
delta_ui.admin.inc - @todo
File
- ./
delta.module, line 189 - Provide contextual theme settings via context module
Code
function delta_get_plugins($name) {
$cache =& drupal_static(__FUNCTION__);
if (!isset($cache[$name])) {
$cache[$name] = array();
ctools_include('plugins');
foreach (ctools_get_plugins('delta', 'plugins') as $plugin) {
if ($plugin['name'] != 'delta_injection') {
if ($class = ctools_plugin_get_class($plugin, 'handler')) {
$cache[$name][$plugin['name']] = new $class($plugin, $name);
}
}
}
drupal_alter('delta_plugins', $cache[$name], $name);
}
return $cache[$name];
}