function panels_ctools_plugin_api in Panels 7.3
Same name and namespace in other branches
- 6.3 panels.module \panels_ctools_plugin_api()
Implements hook_ctools_plugin_api().
File
- ./
panels.module, line 470 - Core functionality for the Panels engine.
Code
function panels_ctools_plugin_api($owner, $api) {
// Inform CTools about version information for various plugins implemented by
// panels.
if ($owner == 'panels' && $api == 'styles') {
// As of 6.x-3.6, Panels has a slightly new system for style plugins.
return array(
'version' => 2.0,
);
}
if ($owner == 'panels' && $api == 'pipelines') {
return array(
'version' => 1,
'path' => drupal_get_path('module', 'panels') . '/includes',
);
}
}