function ds_get_display_handler in Display Suite 6.3
Fetch metadata on a specific ds_display plugin.
Parameters
$module: Name of module implementint a ds_display handler
Return value
An array with information about the requested display handler
File
- ./
ds.module, line 195
Code
function ds_get_display_handler($module) {
ctools_include('plugins');
$plugin = ctools_get_plugins('ds', 'ds_display', $module);
if (isset($plugin['types_callback']) && function_exists($plugin['types_callback'])) {
$plugin['types'] = call_user_func($plugin['types_callback']);
}
}