function _ds_plugins in Display Suite 6
Same name and namespace in other branches
- 6.2 includes/ds.registry.inc \_ds_plugins()
Return ds plugins.
1 call to _ds_plugins()
- ds_ds_plugins in ./
ds.module - Implementation of hook_ds_plugins().
File
- includes/
ds.registry.inc, line 513 - Registry functions.
Code
function _ds_plugins() {
$path = drupal_get_path('module', 'ds');
return array(
'emptyregionrender' => array(
'title' => t('Empty region'),
'class' => 'ds_emptyregionrender',
'description' => t('Renders a region when there is no content in it.'),
'file' => 'ds_emptyregionrender.inc',
'path' => $path . '/plugins',
'target' => 'all',
),
'cssoverrider' => array(
'title' => t('Simple CSS overrider'),
'class' => 'ds_cssoverrider',
'description' => t('Override region CSS with inline styles or add extra classes.'),
'file' => 'ds_cssoverrider.inc',
'path' => $path . '/plugins',
'target' => 'all',
),
'regiontoblock' => array(
'title' => t('Region to block'),
'class' => 'ds_regiontoblock',
'description' => t('Render a display suite region into a theme region. That region will be made available as a block.'),
'file' => 'ds_regiontoblock.inc',
'path' => $path . '/plugins',
'target' => 'all',
),
);
}