function panels_node_node_info in Panels 6.3
Same name and namespace in other branches
- 5.2 panels_node/panels_node.module \panels_node_node_info()
- 6.2 panels_node/panels_node.module \panels_node_node_info()
- 7.3 panels_node/panels_node.module \panels_node_node_info()
Implementation of hook_node_info().
File
- panels_node/
panels_node.module, line 83 - panels_node.module
Code
function panels_node_node_info() {
// Safety: go away if CTools is not at an appropriate version.
if (!defined('PANELS_REQUIRED_CTOOLS_API') || !module_invoke('ctools', 'api_version', PANELS_REQUIRED_CTOOLS_API)) {
return array();
}
return array(
'panel' => array(
'name' => t('Panel'),
'module' => 'panels_node',
'body_label' => t('Teaser'),
'description' => t("A panel layout broken up into rows and columns."),
),
);
}